Class Summary
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.responses.requestapaymentorpayoutresponsecreated.customer.summary.Summary
-
public final class Summary extends java.lang.Objectsummary Summary of the customer's transaction history. Used for risk assessment when source.type is Tamara
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSummary.SummaryBuilder
-
Constructor Summary
Constructors Constructor Description Summary()Summary(java.lang.String registrationDate, java.lang.String firstTransactionDate, java.lang.String lastPaymentDate, java.lang.Integer totalOrderCount, java.lang.Double lastPaymentAmount, java.lang.Boolean isPremiumCustomer, java.lang.Boolean isReturningCustomer, java.lang.Double lifetimeValue)Creates a newSummaryinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Summary.SummaryBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetFirstTransactionDate()The date of the customer's first transaction.java.lang.BooleangetIsPremiumCustomer()Specifies whether the customer is a premium customer.java.lang.BooleangetIsReturningCustomer()Specifies whether the customer is a returning customer.java.lang.DoublegetLastPaymentAmount()The amount of the customer's last payment.java.lang.StringgetLastPaymentDate()The date of the customer's last payment.java.lang.DoublegetLifetimeValue()The customer's lifetime value.java.lang.StringgetRegistrationDate()The date the customer registered.java.lang.IntegergetTotalOrderCount()The total number of orders made by the customer.inthashCode()voidsetFirstTransactionDate(java.lang.String firstTransactionDate)The date of the customer's first transaction.voidsetIsPremiumCustomer(java.lang.Boolean isPremiumCustomer)Specifies whether the customer is a premium customer.voidsetIsReturningCustomer(java.lang.Boolean isReturningCustomer)Specifies whether the customer is a returning customer.voidsetLastPaymentAmount(java.lang.Double lastPaymentAmount)The amount of the customer's last payment.voidsetLastPaymentDate(java.lang.String lastPaymentDate)The date of the customer's last payment.voidsetLifetimeValue(java.lang.Double lifetimeValue)The customer's lifetime value.voidsetRegistrationDate(java.lang.String registrationDate)The date the customer registered.voidsetTotalOrderCount(java.lang.Integer totalOrderCount)The total number of orders made by the customer.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Summary
public Summary()
-
Summary
public Summary(java.lang.String registrationDate, java.lang.String firstTransactionDate, java.lang.String lastPaymentDate, java.lang.Integer totalOrderCount, java.lang.Double lastPaymentAmount, java.lang.Boolean isPremiumCustomer, java.lang.Boolean isReturningCustomer, java.lang.Double lifetimeValue)Creates a newSummaryinstance.- Parameters:
registrationDate- The date the customer registered. [Optional]firstTransactionDate- The date of the customer's first transaction. [Optional]lastPaymentDate- The date of the customer's last payment. [Optional]totalOrderCount- The total number of orders made by the customer. [Optional]lastPaymentAmount- The amount of the customer's last payment. [Optional]isPremiumCustomer- Specifies whether the customer is a premium customer. [Optional]isReturningCustomer- Specifies whether the customer is a returning customer. [Optional]lifetimeValue- The customer's lifetime value. This is the total monetary amount that the customer has ordered, in their local currency, excluding the following: canceled orders rejected payments refunded payments Tamara payments The lifetime value is an indicator of how valuable the relationship with the customer is to your company. [Optional]
-
-
Method Detail
-
builder
public static Summary.SummaryBuilder builder()
-
getRegistrationDate
public java.lang.String getRegistrationDate()
The date the customer registered. [Optional]
-
getFirstTransactionDate
public java.lang.String getFirstTransactionDate()
The date of the customer's first transaction. [Optional]
-
getLastPaymentDate
public java.lang.String getLastPaymentDate()
The date of the customer's last payment. [Optional]
-
getTotalOrderCount
public java.lang.Integer getTotalOrderCount()
The total number of orders made by the customer. [Optional]
-
getLastPaymentAmount
public java.lang.Double getLastPaymentAmount()
The amount of the customer's last payment. [Optional]
-
getIsPremiumCustomer
public java.lang.Boolean getIsPremiumCustomer()
Specifies whether the customer is a premium customer. [Optional]
-
getIsReturningCustomer
public java.lang.Boolean getIsReturningCustomer()
Specifies whether the customer is a returning customer. [Optional]
-
getLifetimeValue
public java.lang.Double getLifetimeValue()
The customer's lifetime value. This is the total monetary amount that the customer has ordered, in their local currency, excluding the following: canceled orders rejected payments refunded payments Tamara payments The lifetime value is an indicator of how valuable the relationship with the customer is to your company. [Optional]
-
setRegistrationDate
public void setRegistrationDate(java.lang.String registrationDate)
The date the customer registered. [Optional]
-
setFirstTransactionDate
public void setFirstTransactionDate(java.lang.String firstTransactionDate)
The date of the customer's first transaction. [Optional]
-
setLastPaymentDate
public void setLastPaymentDate(java.lang.String lastPaymentDate)
The date of the customer's last payment. [Optional]
-
setTotalOrderCount
public void setTotalOrderCount(java.lang.Integer totalOrderCount)
The total number of orders made by the customer. [Optional]
-
setLastPaymentAmount
public void setLastPaymentAmount(java.lang.Double lastPaymentAmount)
The amount of the customer's last payment. [Optional]
-
setIsPremiumCustomer
public void setIsPremiumCustomer(java.lang.Boolean isPremiumCustomer)
Specifies whether the customer is a premium customer. [Optional]
-
setIsReturningCustomer
public void setIsReturningCustomer(java.lang.Boolean isReturningCustomer)
Specifies whether the customer is a returning customer. [Optional]
-
setLifetimeValue
public void setLifetimeValue(java.lang.Double lifetimeValue)
The customer's lifetime value. This is the total monetary amount that the customer has ordered, in their local currency, excluding the following: canceled orders rejected payments refunded payments Tamara payments The lifetime value is an indicator of how valuable the relationship with the customer is to your company. [Optional]
-
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
-
-