CreateGooglePayPaymentParams constructor
- @JsonSerializable(explicitToJson: true)
const
CreateGooglePayPaymentParams(
{ - required String currencyCode,
- required int amount,
})
Implementation
@JsonSerializable(explicitToJson: true)
const factory CreateGooglePayPaymentParams({
/// ISO 4217 alphabetic currency code.
///
/// For example: `USD`
required String currencyCode,
/// Amount intended to be collected.
///
/// The amount has to be a positive zero-digit integer representing the charge
/// in the smallest currency unit (e.g. cents for US dollar).
required int amount,
}) = _CreateGooglePayPaymentParams;