Method | Description | |
---|---|---|
CreateCustomerAsync ( SaasEcom.Core.Models.SaasEcomUser user, string planId = null, System.DateTime trialEnd = null, string cardToken = null ) : Task |
Creates the customer asynchronous.
|
|
CustomerProvider ( string apiKey ) : System |
Initializes a new instance of the CustomerProvider class.
|
|
DeleteCustomer ( SaasEcom.Core.Models.SaasEcomUser user ) : void |
Deletes the customer.
|
|
UpdateCustomer ( SaasEcom.Core.Models.SaasEcomUser user, CreditCard card ) : object |
Updates the customer.
|
public CreateCustomerAsync ( SaasEcom.Core.Models.SaasEcomUser user, string planId = null, System.DateTime trialEnd = null, string cardToken = null ) : Task | ||
user | SaasEcom.Core.Models.SaasEcomUser | The user. |
planId | string | The plan identifier. |
trialEnd | System.DateTime | The trial end. |
cardToken | string | The card token. |
return | Task |
public CustomerProvider ( string apiKey ) : System | ||
apiKey | string | The API key. |
return | System |
public DeleteCustomer ( SaasEcom.Core.Models.SaasEcomUser user ) : void | ||
user | SaasEcom.Core.Models.SaasEcomUser | The user. |
return | void |
public UpdateCustomer ( SaasEcom.Core.Models.SaasEcomUser user, CreditCard card ) : object | ||
user | SaasEcom.Core.Models.SaasEcomUser | The user. |
card | CreditCard | The card. |
return | object |