Class BillingDescriptor
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessionscomplete.requests.BillingDescriptor
-
public final class BillingDescriptor extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBillingDescriptor.BillingDescriptorBuilder
-
Constructor Summary
Constructors Constructor Description BillingDescriptor()BillingDescriptor(java.lang.String name, java.lang.String city, java.lang.String reference)Creates a newBillingDescriptorinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BillingDescriptor.BillingDescriptorBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetCity()The city from which the payment originated.java.lang.StringgetName()A description for the payment, which will be displayed on the customer's card statement.java.lang.StringgetReference()The reference to display on the customer's bank statement.inthashCode()voidsetCity(java.lang.String city)The city from which the payment originated.voidsetName(java.lang.String name)A description for the payment, which will be displayed on the customer's card statement.voidsetReference(java.lang.String reference)The reference to display on the customer's bank statement.java.lang.StringtoString()
-
-
-
Constructor Detail
-
BillingDescriptor
public BillingDescriptor()
-
BillingDescriptor
public BillingDescriptor(java.lang.String name, java.lang.String city, java.lang.String reference)Creates a newBillingDescriptorinstance.- Parameters:
name- A description for the payment, which will be displayed on the customer's card statement. Only applicable for card payments.city- The city from which the payment originated. Only applicable for card payments.reference- The reference to display on the customer's bank statement. Required for payouts to bank accounts.
-
-
Method Detail
-
builder
public static BillingDescriptor.BillingDescriptorBuilder builder()
-
getName
public java.lang.String getName()
A description for the payment, which will be displayed on the customer's card statement. Only applicable for card payments.
-
getCity
public java.lang.String getCity()
The city from which the payment originated. Only applicable for card payments.
-
getReference
public java.lang.String getReference()
The reference to display on the customer's bank statement. Required for payouts to bank accounts.
-
setName
public void setName(java.lang.String name)
A description for the payment, which will be displayed on the customer's card statement. Only applicable for card payments.
-
setCity
public void setCity(java.lang.String city)
The city from which the payment originated. Only applicable for card payments.
-
setReference
public void setReference(java.lang.String reference)
The reference to display on the customer's bank statement. Required for payouts to bank accounts.
-
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
-
-