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

com.checkout.issuing.controls.requests.create.VelocityCardControlRequest 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.checkout.issuing.controls.requests.VelocityLimit;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class VelocityCardControlRequest extends CardControlRequest {

    @SerializedName("velocity_limit")
    private VelocityLimit velocityLimit;

    @Builder
    private VelocityCardControlRequest(
            final VelocityLimit velocityLimit,
            final String description,
            final String targetId
    ) {
        super(ControlType.VELOCITY_LIMIT, description, targetId);
        this.velocityLimit = velocityLimit;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy