PaymentCapture constructor

  1. @JsonSerializable(includeIfNull: false)
const PaymentCapture({
  1. required String mode,
  2. required String refund_speed,
  3. required int automatic_expiry_period,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory PaymentCapture({
  required String mode, // 'automatic' or 'manual'
  required String refund_speed, // 'normal' or 'optimum'
  required int automatic_expiry_period,
}) = _PaymentCapture;