Class Syspay_Merchant_Entity_BillingAgreement
A billing agreement object
- Syspay_Merchant_Entity
-
Syspay_Merchant_Entity_BillingAgreement implements Syspay_Merchant_Entity_ReturnedEntityInterface
public
integer
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public static
|
#
buildFromResponse( stdClass $response )
Build a billing agreement entity based on a json-decoded billing agreement stdClass |
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setPaymentMethod(
Sets the value of payment_method. |
public
DateTime
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
getType(),
toArray()
|
string |
TYPE
|
# 'billing_agreement' |
string |
STATUS_PENDING
|
# 'PENDING' |
string |
STATUS_ACTIVE
|
# 'ACTIVE' |
string |
STATUS_CANCELLED
|
# 'CANCELLED' |
string |
STATUS_ENDED
|
# 'ENDED' |
string |
END_REASON_UNSUBSCRIBED_MERCHANT
|
# 'UNSUBSCRIBED_MERCHANT' |
string |
END_REASON_UNSUBSCRIBED_ADMIN
|
# 'UNSUBSCRIBED_ADMIN' |
string |
END_REASON_SUSPENDED_EXPIRED
|
# 'SUSPENDED_EXPIRED' |
string |
END_REASON_SUSPENDED_CHARGEBACK
|
# 'SUSPENDED_CHARGEBACK' |
$raw
|