Class MerchantAccount.MerchantAccountBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.setups.entities.customer.MerchantAccount.MerchantAccountBuilder
-
- Enclosing class:
- MerchantAccount
public static class MerchantAccount.MerchantAccountBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantAccountbuild()MerchantAccount.MerchantAccountBuilderfirstTransactionDate(java.time.Instant firstTransactionDate)The date of the customer's first transaction with the merchantMerchantAccount.MerchantAccountBuilderid(java.lang.String id)The unique identifier of the merchant accountMerchantAccount.MerchantAccountBuilderlastModified(java.time.Instant lastModified)The date when the customer's account was last modifiedMerchantAccount.MerchantAccountBuilderlastPaymentAmount(java.lang.Long lastPaymentAmount)The amount of the customer's last payment with the merchantMerchantAccount.MerchantAccountBuilderlastTransactionDate(java.time.Instant lastTransactionDate)The date of the customer's most recent transaction with the merchantMerchantAccount.MerchantAccountBuilderregistrationDate(java.time.Instant registrationDate)The date when the customer's account was first registered with the merchantMerchantAccount.MerchantAccountBuilderreturningCustomer(java.lang.Boolean returningCustomer)Indicates whether this is a returning customerjava.lang.StringtoString()MerchantAccount.MerchantAccountBuildertotalOrderCount(java.lang.Integer totalOrderCount)The total number of orders the customer has placed with the merchant
-
-
-
Method Detail
-
id
public MerchantAccount.MerchantAccountBuilder id(java.lang.String id)
The unique identifier of the merchant account- Returns:
this.
-
registrationDate
public MerchantAccount.MerchantAccountBuilder registrationDate(java.time.Instant registrationDate)
The date when the customer's account was first registered with the merchant- Returns:
this.
-
lastModified
public MerchantAccount.MerchantAccountBuilder lastModified(java.time.Instant lastModified)
The date when the customer's account was last modified- Returns:
this.
-
returningCustomer
public MerchantAccount.MerchantAccountBuilder returningCustomer(java.lang.Boolean returningCustomer)
Indicates whether this is a returning customer- Returns:
this.
-
firstTransactionDate
public MerchantAccount.MerchantAccountBuilder firstTransactionDate(java.time.Instant firstTransactionDate)
The date of the customer's first transaction with the merchant- Returns:
this.
-
lastTransactionDate
public MerchantAccount.MerchantAccountBuilder lastTransactionDate(java.time.Instant lastTransactionDate)
The date of the customer's most recent transaction with the merchant- Returns:
this.
-
totalOrderCount
public MerchantAccount.MerchantAccountBuilder totalOrderCount(java.lang.Integer totalOrderCount)
The total number of orders the customer has placed with the merchant- Returns:
this.
-
lastPaymentAmount
public MerchantAccount.MerchantAccountBuilder lastPaymentAmount(java.lang.Long lastPaymentAmount)
The amount of the customer's last payment with the merchant- Returns:
this.
-
build
public MerchantAccount build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-