CreateGooglePayPaymentParams constructor

  1. @JsonSerializable(explicitToJson: true)
const CreateGooglePayPaymentParams({
  1. required String currencyCode,
  2. 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;