Class MerchantAccount.MerchantAccountBuilder

  • Enclosing class:
    MerchantAccount

    public static class MerchantAccount.MerchantAccountBuilder
    extends java.lang.Object
    • Method Detail

      • registrationDate

        public MerchantAccount.MerchantAccountBuilder registrationDate​(java.time.Instant registrationDate)
        The date when the customer's account was first registered with the merchant
        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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object