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

com.checkout.issuing.controls.requests.create.CardControlRequest Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.issuing.controls.requests.create;

import com.checkout.issuing.controls.requests.ControlType;
import com.google.gson.annotations.SerializedName;
import lombok.Data;

@Data
public abstract class CardControlRequest {

    @SerializedName("control_type")
    private final ControlType type;

    private String description;

    @SerializedName("target_id")
    private String targetId;

    protected CardControlRequest(final ControlType type,
                                 final String description,
                                 final String targetId) {
        this.type = type;
        this.description = description;
        this.targetId = targetId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy