creditcardpluginCardpointeGatewayapiSurchargefeeLocationLocationidAccountAccountidPostalcodePostalcodeAmountAmountGet method
Future<Response<WebApiModulesPluginsCreditCardCreditCardPluginGetDefaultSurchargeAmountResponse> >
creditcardpluginCardpointeGatewayapiSurchargefeeLocationLocationidAccountAccountidPostalcodePostalcodeAmountAmountGet({})
Calls the Cardpointe Gateway API Surcharge endpoint to determine if there is a surcharge for an account (tokenized card #). @param locationid @param accountid @param postalcode @param amount
Implementation
Future<
chopper.Response<
WebApiModulesPluginsCreditCardCreditCardPluginGetDefaultSurchargeAmountResponse
>
>
creditcardpluginCardpointeGatewayapiSurchargefeeLocationLocationidAccountAccountidPostalcodePostalcodeAmountAmountGet({
required String? locationid,
required String? accountid,
required String? postalcode,
required num? amount,
}) {
generatedMapping.putIfAbsent(
WebApiModulesPluginsCreditCardCreditCardPluginGetDefaultSurchargeAmountResponse,
() =>
WebApiModulesPluginsCreditCardCreditCardPluginGetDefaultSurchargeAmountResponse
.fromJsonFactory,
);
return _creditcardpluginCardpointeGatewayapiSurchargefeeLocationLocationidAccountAccountidPostalcodePostalcodeAmountAmountGet(
locationid: locationid,
accountid: accountid,
postalcode: postalcode,
amount: amount,
);
}