Class Customer.CustomerBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessionscomplete.requests.Customer.CustomerBuilder
-
- Enclosing class:
- Customer
public static class Customer.CustomerBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Customerbuild()Customer.CustomerBuilderemail(java.lang.String email)The customer's email address.Customer.CustomerBuilderid(java.lang.String id)The unique identifier for an existing customer.Customer.CustomerBuildername(java.lang.String name)The customer's name.Customer.CustomerBuilderphone(Phone phone)The customer's phone number.Customer.CustomerBuildertaxNumber(java.lang.String taxNumber)The customer’s value-added tax (VAT) registration number.java.lang.StringtoString()
-
-
-
Method Detail
-
email
public Customer.CustomerBuilder email(java.lang.String email)
The customer's email address. Required if source.type is tamara.- Returns:
this.
-
name
public Customer.CustomerBuilder name(java.lang.String name)
The customer's name. Required if source.type is tamara.- Returns:
this.
-
id
public Customer.CustomerBuilder id(java.lang.String id)
The unique identifier for an existing customer.- Returns:
this.
-
phone
public Customer.CustomerBuilder phone(Phone phone)
The customer's phone number. Required if source.type is tamara.- Returns:
this.
-
taxNumber
public Customer.CustomerBuilder taxNumber(java.lang.String taxNumber)
The customer’s value-added tax (VAT) registration number.- Returns:
this.
-
build
public Customer build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-