Package io.moov.sdk.models.components
Class AchDebitCollectPaymentMethod
- java.lang.Object
-
- io.moov.sdk.models.components.AchDebitCollectPaymentMethod
-
- All Implemented Interfaces:
PaymentMethod
public class AchDebitCollectPaymentMethod extends java.lang.Object implements PaymentMethod
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAchDebitCollectPaymentMethod.Builder
-
Constructor Summary
Constructors Constructor Description AchDebitCollectPaymentMethod(java.lang.String paymentMethodID, AchDebitCollectPaymentMethodPaymentMethodType paymentMethodType, PaymentMethodsBankAccount bankAccount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentMethodsBankAccountbankAccount()A bank account as contained within a payment method.static AchDebitCollectPaymentMethod.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringpaymentMethodID()ID of the payment method.java.lang.StringpaymentMethodType()java.lang.StringtoString()AchDebitCollectPaymentMethodwithBankAccount(PaymentMethodsBankAccount bankAccount)A bank account as contained within a payment method.AchDebitCollectPaymentMethodwithPaymentMethodID(java.lang.String paymentMethodID)ID of the payment method.AchDebitCollectPaymentMethodwithPaymentMethodType(AchDebitCollectPaymentMethodPaymentMethodType paymentMethodType)
-
-
-
Constructor Detail
-
AchDebitCollectPaymentMethod
public AchDebitCollectPaymentMethod(java.lang.String paymentMethodID, AchDebitCollectPaymentMethodPaymentMethodType paymentMethodType, PaymentMethodsBankAccount bankAccount)
-
-
Method Detail
-
paymentMethodID
public java.lang.String paymentMethodID()
ID of the payment method.
-
paymentMethodType
public java.lang.String paymentMethodType()
- Specified by:
paymentMethodTypein interfacePaymentMethod
-
bankAccount
public PaymentMethodsBankAccount bankAccount()
A bank account as contained within a payment method.
-
builder
public static AchDebitCollectPaymentMethod.Builder builder()
-
withPaymentMethodID
public AchDebitCollectPaymentMethod withPaymentMethodID(java.lang.String paymentMethodID)
ID of the payment method.
-
withPaymentMethodType
public AchDebitCollectPaymentMethod withPaymentMethodType(AchDebitCollectPaymentMethodPaymentMethodType paymentMethodType)
-
withBankAccount
public AchDebitCollectPaymentMethod withBankAccount(PaymentMethodsBankAccount bankAccount)
A bank account as contained within a payment method.
-
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
-
-