pay method

Future<IntentDetails?> pay(
  1. String intentId,
  2. VaultData cardData,
  3. bool saveCard,
  4. Map<String, String>? billingData,
  5. Map<String, String>? shippingData,
)

Implementation

Future<IntentDetails?> pay(
    String intentId,
    VaultData cardData,
    bool saveCard,
    Map<String, String>? billingData,
    Map<String, String>? shippingData) async {
  return await _cardFormCollector.pay(
      intentId, cardData, saveCard, billingData, shippingData);
}