Package io.moov.sdk.models.components
Class AchCreditStandardPaymentMethod
- java.lang.Object
-
- io.moov.sdk.models.components.AchCreditStandardPaymentMethod
-
- All Implemented Interfaces:
PaymentMethod
public class AchCreditStandardPaymentMethod extends java.lang.Object implements PaymentMethod
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAchCreditStandardPaymentMethod.Builder
-
Constructor Summary
Constructors Constructor Description AchCreditStandardPaymentMethod(java.lang.String paymentMethodID, AchCreditStandardPaymentMethodPaymentMethodType 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 AchCreditStandardPaymentMethod.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringpaymentMethodID()ID of the payment method.java.lang.StringpaymentMethodType()java.lang.StringtoString()AchCreditStandardPaymentMethodwithBankAccount(PaymentMethodsBankAccount bankAccount)A bank account as contained within a payment method.AchCreditStandardPaymentMethodwithPaymentMethodID(java.lang.String paymentMethodID)ID of the payment method.AchCreditStandardPaymentMethodwithPaymentMethodType(AchCreditStandardPaymentMethodPaymentMethodType paymentMethodType)
-
-
-
Constructor Detail
-
AchCreditStandardPaymentMethod
public AchCreditStandardPaymentMethod(java.lang.String paymentMethodID, AchCreditStandardPaymentMethodPaymentMethodType 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 final AchCreditStandardPaymentMethod.Builder builder()
-
withPaymentMethodID
public AchCreditStandardPaymentMethod withPaymentMethodID(java.lang.String paymentMethodID)
ID of the payment method.
-
withPaymentMethodType
public AchCreditStandardPaymentMethod withPaymentMethodType(AchCreditStandardPaymentMethodPaymentMethodType paymentMethodType)
-
withBankAccount
public AchCreditStandardPaymentMethod 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
-
-