com.checkout.instruments.previous.UpdateInstrumentRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
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