Package io.moov.sdk.models.components
Class BasicPaymentMethod
- java.lang.Object
-
- io.moov.sdk.models.components.BasicPaymentMethod
-
public class BasicPaymentMethod extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBasicPaymentMethod.Builder
-
Constructor Summary
Constructors Constructor Description BasicPaymentMethod(java.lang.String paymentMethodID, PaymentMethodType paymentMethodType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BasicPaymentMethod.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringpaymentMethodID()ID of the payment method.PaymentMethodTypepaymentMethodType()The payment method type that represents a payment rail and directionalityjava.lang.StringtoString()BasicPaymentMethodwithPaymentMethodID(java.lang.String paymentMethodID)ID of the payment method.BasicPaymentMethodwithPaymentMethodType(PaymentMethodType paymentMethodType)The payment method type that represents a payment rail and directionality
-
-
-
Constructor Detail
-
BasicPaymentMethod
public BasicPaymentMethod(java.lang.String paymentMethodID, PaymentMethodType paymentMethodType)
-
-
Method Detail
-
paymentMethodID
public java.lang.String paymentMethodID()
ID of the payment method.
-
paymentMethodType
public PaymentMethodType paymentMethodType()
The payment method type that represents a payment rail and directionality
-
builder
public static BasicPaymentMethod.Builder builder()
-
withPaymentMethodID
public BasicPaymentMethod withPaymentMethodID(java.lang.String paymentMethodID)
ID of the payment method.
-
withPaymentMethodType
public BasicPaymentMethod withPaymentMethodType(PaymentMethodType paymentMethodType)
The payment method type that represents a payment rail and directionality
-
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
-
-