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

com.truelayer.java.payments.entities.paymentdetail.Consent Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package com.truelayer.java.payments.entities.paymentdetail;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Value;

@Value
@EqualsAndHashCode(callSuper = false)
public class Consent extends AuthorizationFlowAction {
    Type type = Type.CONSENT;

    SubsequentActionHint subsequentActionHint;

    @RequiredArgsConstructor
    @Getter
    public enum SubsequentActionHint {
        REDIRECT("redirect"),
        FORM("form");

        @JsonValue
        private final String subsequentActionHint;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy