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

com.checkout.instruments.previous.UpdateInstrumentRequest Maven / Gradle / Ivy

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

import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public final class UpdateInstrumentRequest {

    @SerializedName("expiry_month")
    private int expiryMonth;

    @SerializedName("expiry_year")
    private int expiryYear;

    private String name;

    @SerializedName("account_holder")
    private InstrumentAccountHolder accountHolder;

    private Customer customer;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Customer {

        private String id;

        @SerializedName("default")
        private boolean isDefault;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy