Method | Description | |
---|---|---|
AddAsync ( SaasEcom.Core.Models.SaasEcomUser user, CreditCard card ) : System.Threading.Tasks.Task |
Adds the credit card asynchronous.
|
|
CardBelongToUser ( int cardId, string userId ) : Task |
Check if the Card belong to user.
|
|
CardProvider ( string apiKey, ICardDataService cardDataService ) : System.Collections.Generic |
Initializes a new instance of the CardProvider class.
|
|
DeleteAsync ( string customerId, string custStripeId, int cardId ) : System.Threading.Tasks.Task |
Deletes the credit card asynchronous.
|
|
FindAsync ( string customerId, int cardId ) : Task |
Finds the credit card asynchronous.
|
|
GetAllAsync ( string customerId ) : Task |
Gets all the credit cards asynchronous.
|
|
UpdateAsync ( SaasEcom.Core.Models.SaasEcomUser user, CreditCard creditcard ) : System.Threading.Tasks.Task |
Updates the credit card asynchronous.
|
Method | Description | |
---|---|---|
AddCardToStripe ( CreditCard card, string stripeCustomerId ) : |
public AddAsync ( SaasEcom.Core.Models.SaasEcomUser user, CreditCard card ) : System.Threading.Tasks.Task | ||
user | SaasEcom.Core.Models.SaasEcomUser | The user. |
card | CreditCard | The card. |
return | System.Threading.Tasks.Task |
public CardBelongToUser ( int cardId, string userId ) : Task |
||
cardId | int | The card identifier. |
userId | string | The user identifier. |
return | Task |
public CardProvider ( string apiKey, ICardDataService cardDataService ) : System.Collections.Generic | ||
apiKey | string | The API key. |
cardDataService | ICardDataService | The card data service. |
return | System.Collections.Generic |
public DeleteAsync ( string customerId, string custStripeId, int cardId ) : System.Threading.Tasks.Task | ||
customerId | string | The customer identifier. |
custStripeId | string | The customer stripe identifier. |
cardId | int | The Card identifier. |
return | System.Threading.Tasks.Task |
public FindAsync ( string customerId, int cardId ) : Task |
||
customerId | string | The customer identifier. |
cardId | int | The card identifier. |
return | Task |
public GetAllAsync ( string customerId ) : Task |
||
customerId | string | The customer identifier. |
return | Task |
public UpdateAsync ( SaasEcom.Core.Models.SaasEcomUser user, CreditCard creditcard ) : System.Threading.Tasks.Task | ||
user | SaasEcom.Core.Models.SaasEcomUser | The user. |
creditcard | CreditCard | The creditcard. |
return | System.Threading.Tasks.Task |