travel.wink.wise.partner.transfer.api.TransferRequirement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wise-java-sdk Show documentation
Show all versions of wise-java-sdk Show documentation
Spring Boot implementation to TransferWise
The newest version!
package travel.wink.wise.partner.transfer.api;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Value;
import java.beans.ConstructorProperties;
import java.util.List;
/**
* The type Transfer requirement.
*/
@Value
public class TransferRequirement {
String type;
List fields;
/**
* Instantiates a new Transfer requirement.
*
* @param type the type
* @param fields the fields
*/
@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
@ConstructorProperties({
"type",
"fields",
})
public TransferRequirement(
@JsonProperty("type") String type,
@JsonProperty("fields") List fields
) {
this.type = type;
this.fields = fields;
}
}