Method |
Description |
|
__construct ( $api_key, $domain ) |
|
|
applyCoupon ( $subscriptionId, $couponCode ) |
|
|
cancelSubscription ( $subscriptionId, $reason = 'Canceling the subscription via the API. Requested by customer.' ) |
|
|
createComponentUsage ( $subscriptionId, $componentId, $quantity, $memo ) |
|
|
createCustomer ( $scalr_client_id, $email, $first_name, $last_name, $org = "" ) : ChargifyCustomer |
|
|
createSubscription ( $scalrAccountId, $package, $ccNumber, $ccExpMonth, $ccExpYear, $ccCvv, $clientInfo = false, $postalCode = false ) |
|
|
getCouponDetails ( $couponCode ) |
|
|
getCustomerById ( $customerId ) |
|
|
getCustomerSubscriptionByCId ( $client_id ) : ChargifySubscription |
|
|
getStatements ( $subscriptionId ) |
|
|
getSubscription ( $subscriptionId ) |
|
|
getSubscriptionByCustomerId ( $clientId ) |
|
|
getSubscriptionComponents ( $subscriptionId ) |
|
|
reactivateSubscription ( $subscriptionId ) |
|
|
setComponentValue ( $subscriptionId, $componentId, $value ) |
|
|
updateSubscription ( $subscriptionId, $ccNumber, $ccCvv, $ccExpMonth, $ccExpYear, $fName, $lName, $postalCode = false ) |
|
|
upgradeSubscription ( $subscriptionId, $package, $includeTrial = false ) |
|
|