com.recurly.v3.requests.CouponRedemptionCreate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-client Show documentation
Show all versions of api-client Show documentation
The official Java client for Recurly's V3 API.
/**
* This file is automatically created by Recurly's OpenAPI generation process and thus any edits you
* make by hand will be lost. If you wish to make a change to this file, please create a Github
* issue explaining the changes you need and we will usher them to the appropriate places.
*/
package com.recurly.v3.requests;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.recurly.v3.Request;
import com.recurly.v3.resources.*;
public class CouponRedemptionCreate extends Request {
/** Coupon ID */
@SerializedName("coupon_id")
@Expose
private String couponId;
/** 3-letter ISO 4217 currency code. */
@SerializedName("currency")
@Expose
private String currency;
/** Subscription ID */
@SerializedName("subscription_id")
@Expose
private String subscriptionId;
/** Coupon ID */
public String getCouponId() {
return this.couponId;
}
/** @param couponId Coupon ID */
public void setCouponId(final String couponId) {
this.couponId = couponId;
}
/** 3-letter ISO 4217 currency code. */
public String getCurrency() {
return this.currency;
}
/** @param currency 3-letter ISO 4217 currency code. */
public void setCurrency(final String currency) {
this.currency = currency;
}
/** Subscription ID */
public String getSubscriptionId() {
return this.subscriptionId;
}
/** @param subscriptionId Subscription ID */
public void setSubscriptionId(final String subscriptionId) {
this.subscriptionId = subscriptionId;
}
}