Package io.moov.sdk.models.components
Class PaymentLinkPayoutDetailsUpdate
- java.lang.Object
-
- io.moov.sdk.models.components.PaymentLinkPayoutDetailsUpdate
-
public class PaymentLinkPayoutDetailsUpdate extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentLinkPayoutDetailsUpdate.Builder
-
Constructor Summary
Constructors Constructor Description PaymentLinkPayoutDetailsUpdate()PaymentLinkPayoutDetailsUpdate(java.util.Optional<? extends java.util.List<DisbursementPaymentMethodType>> allowedMethods, java.util.Optional<? extends PayoutRecipientUpdate> recipient)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.util.List<DisbursementPaymentMethodType>>allowedMethods()A list of payment methods that should be supported for this payment link.static PaymentLinkPayoutDetailsUpdate.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<PayoutRecipientUpdate>recipient()Specify the intended recipient of the payout.java.lang.StringtoString()PaymentLinkPayoutDetailsUpdatewithAllowedMethods(java.util.List<DisbursementPaymentMethodType> allowedMethods)A list of payment methods that should be supported for this payment link.PaymentLinkPayoutDetailsUpdatewithAllowedMethods(java.util.Optional<? extends java.util.List<DisbursementPaymentMethodType>> allowedMethods)A list of payment methods that should be supported for this payment link.PaymentLinkPayoutDetailsUpdatewithRecipient(PayoutRecipientUpdate recipient)Specify the intended recipient of the payout.PaymentLinkPayoutDetailsUpdatewithRecipient(java.util.Optional<? extends PayoutRecipientUpdate> recipient)Specify the intended recipient of the payout.
-
-
-
Constructor Detail
-
PaymentLinkPayoutDetailsUpdate
public PaymentLinkPayoutDetailsUpdate(java.util.Optional<? extends java.util.List<DisbursementPaymentMethodType>> allowedMethods, java.util.Optional<? extends PayoutRecipientUpdate> recipient)
-
PaymentLinkPayoutDetailsUpdate
public PaymentLinkPayoutDetailsUpdate()
-
-
Method Detail
-
allowedMethods
public java.util.Optional<java.util.List<DisbursementPaymentMethodType>> allowedMethods()
A list of payment methods that should be supported for this payment link.
-
recipient
public java.util.Optional<PayoutRecipientUpdate> recipient()
Specify the intended recipient of the payout.This information will be used to authenticate the end user when they follow the payment link.
-
builder
public static final PaymentLinkPayoutDetailsUpdate.Builder builder()
-
withAllowedMethods
public PaymentLinkPayoutDetailsUpdate withAllowedMethods(java.util.List<DisbursementPaymentMethodType> allowedMethods)
A list of payment methods that should be supported for this payment link.
-
withAllowedMethods
public PaymentLinkPayoutDetailsUpdate withAllowedMethods(java.util.Optional<? extends java.util.List<DisbursementPaymentMethodType>> allowedMethods)
A list of payment methods that should be supported for this payment link.
-
withRecipient
public PaymentLinkPayoutDetailsUpdate withRecipient(PayoutRecipientUpdate recipient)
Specify the intended recipient of the payout.This information will be used to authenticate the end user when they follow the payment link.
-
withRecipient
public PaymentLinkPayoutDetailsUpdate withRecipient(java.util.Optional<? extends PayoutRecipientUpdate> recipient)
Specify the intended recipient of the payout.This information will be used to authenticate the end user when they follow the payment link.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-