copyWith method
ShopifySharpRefundOrderAdjustment
copyWith({
- int? orderId,
- int? refundId,
- double? amount,
- double? taxAmount,
- String? kind,
- String? reason,
- ShopifySharpPriceSet? amountSet,
- ShopifySharpPriceSet? taxAmountSet,
- int? id,
- String? adminGraphqlApiId,
Implementation
ShopifySharpRefundOrderAdjustment copyWith({
int? orderId,
int? refundId,
double? amount,
double? taxAmount,
String? kind,
String? reason,
ShopifySharpPriceSet? amountSet,
ShopifySharpPriceSet? taxAmountSet,
int? id,
String? adminGraphqlApiId,
}) {
return ShopifySharpRefundOrderAdjustment(
orderId: orderId ?? this.orderId,
refundId: refundId ?? this.refundId,
amount: amount ?? this.amount,
taxAmount: taxAmount ?? this.taxAmount,
kind: kind ?? this.kind,
reason: reason ?? this.reason,
amountSet: amountSet ?? this.amountSet,
taxAmountSet: taxAmountSet ?? this.taxAmountSet,
id: id ?? this.id,
adminGraphqlApiId: adminGraphqlApiId ?? this.adminGraphqlApiId,
);
}