Package travel.wink.sdk.payment.model
Class CustomerPaymentMethod
java.lang.Object
travel.wink.sdk.payment.model.CustomerPaymentMethod
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-18T16:41:24.680347747+07:00[Asia/Bangkok]")
public class CustomerPaymentMethod
extends Object
Existing customer payment methods
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpirationDate(String expirationDate) @NotNull StringgetBrand()Type of card@NotNull StringCard expiration date@NotNull StringgetLast4()Last 4 digits of card@NotNull StringName on card@NotNull StringUnique payment method identifierinthashCode()nameOnCard(String nameOnCard) paymentMethodId(String paymentMethodId) voidvoidsetExpirationDate(String expirationDate) voidvoidsetNameOnCard(String nameOnCard) voidsetPaymentMethodId(String paymentMethodId) toString()
-
Field Details
-
JSON_PROPERTY_PAYMENT_METHOD_ID
- See Also:
-
JSON_PROPERTY_BRAND
- See Also:
-
JSON_PROPERTY_NAME_ON_CARD
- See Also:
-
JSON_PROPERTY_LAST4
- See Also:
-
JSON_PROPERTY_EXPIRATION_DATE
- See Also:
-
-
Constructor Details
-
CustomerPaymentMethod
public CustomerPaymentMethod()
-
-
Method Details
-
paymentMethodId
-
getPaymentMethodId
Unique payment method identifier- Returns:
- paymentMethodId
-
setPaymentMethodId
-
brand
-
getBrand
Type of card- Returns:
- brand
-
setBrand
-
nameOnCard
-
getNameOnCard
Name on card- Returns:
- nameOnCard
-
setNameOnCard
-
last4
-
getLast4
Last 4 digits of card- Returns:
- last4
-
setLast4
-
expirationDate
-
getExpirationDate
Card expiration date- Returns:
- expirationDate
-
setExpirationDate
-
equals
-
hashCode
public int hashCode() -
toString
-