All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.checkout.tokens.CardTokenRequest Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.tokens;

import com.checkout.common.Address;
import com.checkout.common.Phone;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@AllArgsConstructor
public final class CardTokenRequest {

    private final TokenType type = TokenType.CARD;

    private String number;

    @SerializedName("expiry_month")
    private Integer expiryMonth;

    @SerializedName("expiry_year")
    private Integer expiryYear;

    private String name;

    private String cvv;

    @SerializedName("billing_address")
    private Address billingAddress;

    private Phone phone;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy