react-native-moyasar-sdk
Version:
Official React Native Moyasar SDK - Integrate Credit Cards, Apple Pay, Samsung Pay, and STC Pay with simple interfaces for a seamless payment experience in your React Native app
16 lines (15 loc) • 415 B
JavaScript
;
export class CreditCardConfig {
/**
* @param {boolean} saveCard - An option to save (tokenize) the card after a successful payment.
* @param {boolean} manual - An option to enable the manual auth and capture flow.
*/
constructor({
saveCard = false,
manual = false
}) {
this.saveCard = saveCard;
this.manual = manual;
}
}
//# sourceMappingURL=credit_card_config.js.map