Package io.moov.sdk.models.components
Class PaymentLinkCustomerOptions
- java.lang.Object
-
- io.moov.sdk.models.components.PaymentLinkCustomerOptions
-
public class PaymentLinkCustomerOptions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentLinkCustomerOptions.Builder
-
Constructor Summary
Constructors Constructor Description PaymentLinkCustomerOptions()PaymentLinkCustomerOptions(java.util.Optional<java.lang.Boolean> requireAddress, java.util.Optional<java.lang.Boolean> requirePhone, java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentLinkCustomerOptions.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>metadata()Optional free-form metadata for the Moov account that will represent this customer.java.util.Optional<java.lang.Boolean>requireAddress()If true, a billing address is required when completing the payment form.java.util.Optional<java.lang.Boolean>requirePhone()If true, a phone number is required when completing the payment form.java.lang.StringtoString()PaymentLinkCustomerOptionswithMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)Optional free-form metadata for the Moov account that will represent this customer.PaymentLinkCustomerOptionswithMetadata(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)Optional free-form metadata for the Moov account that will represent this customer.PaymentLinkCustomerOptionswithRequireAddress(boolean requireAddress)If true, a billing address is required when completing the payment form.PaymentLinkCustomerOptionswithRequireAddress(java.util.Optional<java.lang.Boolean> requireAddress)If true, a billing address is required when completing the payment form.PaymentLinkCustomerOptionswithRequirePhone(boolean requirePhone)If true, a phone number is required when completing the payment form.PaymentLinkCustomerOptionswithRequirePhone(java.util.Optional<java.lang.Boolean> requirePhone)If true, a phone number is required when completing the payment form.
-
-
-
Constructor Detail
-
PaymentLinkCustomerOptions
public PaymentLinkCustomerOptions(java.util.Optional<java.lang.Boolean> requireAddress, java.util.Optional<java.lang.Boolean> requirePhone, java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)
-
PaymentLinkCustomerOptions
public PaymentLinkCustomerOptions()
-
-
Method Detail
-
requireAddress
public java.util.Optional<java.lang.Boolean> requireAddress()
If true, a billing address is required when completing the payment form.
-
requirePhone
public java.util.Optional<java.lang.Boolean> requirePhone()
If true, a phone number is required when completing the payment form.
-
metadata
public java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> metadata()
Optional free-form metadata for the Moov account that will represent this customer.
-
builder
public static final PaymentLinkCustomerOptions.Builder builder()
-
withRequireAddress
public PaymentLinkCustomerOptions withRequireAddress(boolean requireAddress)
If true, a billing address is required when completing the payment form.
-
withRequireAddress
public PaymentLinkCustomerOptions withRequireAddress(java.util.Optional<java.lang.Boolean> requireAddress)
If true, a billing address is required when completing the payment form.
-
withRequirePhone
public PaymentLinkCustomerOptions withRequirePhone(boolean requirePhone)
If true, a phone number is required when completing the payment form.
-
withRequirePhone
public PaymentLinkCustomerOptions withRequirePhone(java.util.Optional<java.lang.Boolean> requirePhone)
If true, a phone number is required when completing the payment form.
-
withMetadata
public PaymentLinkCustomerOptions withMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Optional free-form metadata for the Moov account that will represent this customer.
-
withMetadata
public PaymentLinkCustomerOptions withMetadata(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)
Optional free-form metadata for the Moov account that will represent this customer.
-
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
-
-