copyWithWrapped method

PaymentProfileCreateResponse copyWithWrapped({
  1. Wrapped<String>? paymentProfileToken,
  2. Wrapped<String>? requestId,
})

Implementation

PaymentProfileCreateResponse copyWithWrapped(
    {Wrapped<String>? paymentProfileToken, Wrapped<String>? requestId}) {
  return PaymentProfileCreateResponse(
      paymentProfileToken: (paymentProfileToken != null
          ? paymentProfileToken.value
          : this.paymentProfileToken),
      requestId: (requestId != null ? requestId.value : this.requestId));
}