Package io.moov.sdk.models.components
Class CustomerSupport
- java.lang.Object
-
- io.moov.sdk.models.components.CustomerSupport
-
public class CustomerSupport extends java.lang.ObjectCustomerSupportUser-provided information that can be displayed on credit card transactions for customers to use when contacting a customer support team. This data is only allowed on a business account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomerSupport.Builder
-
Constructor Summary
Constructors Constructor Description CustomerSupport()CustomerSupport(java.util.Optional<? extends PhoneNumber> phone, java.util.Optional<java.lang.String> email, java.util.Optional<? extends Address> address, java.util.Optional<java.lang.String> website)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Address>address()static CustomerSupport.Builderbuilder()java.util.Optional<java.lang.String>email()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<PhoneNumber>phone()java.lang.StringtoString()java.util.Optional<java.lang.String>website()CustomerSupportwithAddress(Address address)CustomerSupportwithAddress(java.util.Optional<? extends Address> address)CustomerSupportwithEmail(java.lang.String email)CustomerSupportwithEmail(java.util.Optional<java.lang.String> email)CustomerSupportwithPhone(PhoneNumber phone)CustomerSupportwithPhone(java.util.Optional<? extends PhoneNumber> phone)CustomerSupportwithWebsite(java.lang.String website)CustomerSupportwithWebsite(java.util.Optional<java.lang.String> website)
-
-
-
Constructor Detail
-
CustomerSupport
public CustomerSupport(java.util.Optional<? extends PhoneNumber> phone, java.util.Optional<java.lang.String> email, java.util.Optional<? extends Address> address, java.util.Optional<java.lang.String> website)
-
CustomerSupport
public CustomerSupport()
-
-
Method Detail
-
phone
public java.util.Optional<PhoneNumber> phone()
-
email
public java.util.Optional<java.lang.String> email()
-
address
public java.util.Optional<Address> address()
-
website
public java.util.Optional<java.lang.String> website()
-
builder
public static CustomerSupport.Builder builder()
-
withPhone
public CustomerSupport withPhone(PhoneNumber phone)
-
withPhone
public CustomerSupport withPhone(java.util.Optional<? extends PhoneNumber> phone)
-
withEmail
public CustomerSupport withEmail(java.lang.String email)
-
withEmail
public CustomerSupport withEmail(java.util.Optional<java.lang.String> email)
-
withAddress
public CustomerSupport withAddress(Address address)
-
withAddress
public CustomerSupport withAddress(java.util.Optional<? extends Address> address)
-
withWebsite
public CustomerSupport withWebsite(java.lang.String website)
-
withWebsite
public CustomerSupport withWebsite(java.util.Optional<java.lang.String> website)
-
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
-
-