copyWith method

TransferRefundCreateRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? transferId,
  4. String? amount,
  5. String? idempotencyKey,
})

Implementation

TransferRefundCreateRequest copyWith(
    {String? clientId,
    String? secret,
    String? transferId,
    String? amount,
    String? idempotencyKey}) {
  return TransferRefundCreateRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      transferId: transferId ?? this.transferId,
      amount: amount ?? this.amount,
      idempotencyKey: idempotencyKey ?? this.idempotencyKey);
}