package payp.mard2p.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Long; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.2-dev * User agent: apibuilder app.apibuilder.io/mard/mard2p-api/0.0.2-dev/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * * Withdraw describes a way a payment is handled. It depends of Payment Resource */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Withdraw { @NotNull protected Long wdwid; @NotNull protected Long paymentid; public Withdraw(Long wdwid, Long paymentid) { this.wdwid = wdwid; this.paymentid = paymentid; } public Withdraw() { } /** * Internal unique identifier for this account. */ public Long getWdwid() { return wdwid; } public void setWdwid(Long wdwid) { this.wdwid = wdwid; } /** * The added paymentid used to proceed the deposit transaction. */ public Long getPaymentid() { return paymentid; } public void setPaymentid(Long paymentid) { this.paymentid = paymentid; } }