copyWith method
ShopifySharpLineItemDuty
copyWith({
- String? harmonizedSystemCode,
- String? countryCodeOfOrigin,
- ShopifySharpPriceSet? priceSet,
- List<
ShopifySharpTaxLine> ? taxLines, - int? id,
- String? adminGraphqlApiId,
Implementation
ShopifySharpLineItemDuty copyWith({
String? harmonizedSystemCode,
String? countryCodeOfOrigin,
ShopifySharpPriceSet? priceSet,
List<ShopifySharpTaxLine>? taxLines,
int? id,
String? adminGraphqlApiId,
}) {
return ShopifySharpLineItemDuty(
harmonizedSystemCode: harmonizedSystemCode ?? this.harmonizedSystemCode,
countryCodeOfOrigin: countryCodeOfOrigin ?? this.countryCodeOfOrigin,
priceSet: priceSet ?? this.priceSet,
taxLines: taxLines ?? this.taxLines,
id: id ?? this.id,
adminGraphqlApiId: adminGraphqlApiId ?? this.adminGraphqlApiId,
);
}