copyWithWrapped method

ShopifySharpPaymentsRefundAttributes copyWithWrapped({
  1. Wrapped<String?>? status,
  2. Wrapped<String?>? acquirerReferenceNumber,
})

Implementation

ShopifySharpPaymentsRefundAttributes copyWithWrapped({
  Wrapped<String?>? status,
  Wrapped<String?>? acquirerReferenceNumber,
}) {
  return ShopifySharpPaymentsRefundAttributes(
    status: (status != null ? status.value : this.status),
    acquirerReferenceNumber: (acquirerReferenceNumber != null
        ? acquirerReferenceNumber.value
        : this.acquirerReferenceNumber),
  );
}