toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "amount": amount,
    "currencyCode": currencyCode,
    "redirectUri": redirectUri,
    "description": description,
    "paymentMethodType": paymentMethodType,
    "customer": customer?.toMap(),
    "customerGid": customerGid,
    "notificationType": notificationType,
    "expiresAt": expiresAt
  };
}