-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from recurly/v3-v2019-10-10-1659465266
Generated Latest Changes for v2019-10-10
- Loading branch information
Showing
18 changed files
with
611 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
src/main/java/com/recurly/v3/requests/PlanRampInterval.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/** | ||
* 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.*; | ||
import java.util.List; | ||
|
||
public class PlanRampInterval extends Request { | ||
|
||
/** Represents the price for the ramp interval. */ | ||
@SerializedName("currencies") | ||
@Expose | ||
private List<PlanRampPricing> currencies; | ||
|
||
/** Represents the first billing cycle of a ramp. */ | ||
@SerializedName("starting_billing_cycle") | ||
@Expose | ||
private Integer startingBillingCycle; | ||
|
||
/** Represents the price for the ramp interval. */ | ||
public List<PlanRampPricing> getCurrencies() { | ||
return this.currencies; | ||
} | ||
|
||
/** @param currencies Represents the price for the ramp interval. */ | ||
public void setCurrencies(final List<PlanRampPricing> currencies) { | ||
this.currencies = currencies; | ||
} | ||
|
||
/** Represents the first billing cycle of a ramp. */ | ||
public Integer getStartingBillingCycle() { | ||
return this.startingBillingCycle; | ||
} | ||
|
||
/** @param startingBillingCycle Represents the first billing cycle of a ramp. */ | ||
public void setStartingBillingCycle(final Integer startingBillingCycle) { | ||
this.startingBillingCycle = startingBillingCycle; | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
src/main/java/com/recurly/v3/requests/PlanRampPricing.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* 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 PlanRampPricing extends Request { | ||
|
||
/** 3-letter ISO 4217 currency code. */ | ||
@SerializedName("currency") | ||
@Expose | ||
private String currency; | ||
|
||
/** Represents the price for the Ramp Interval. */ | ||
@SerializedName("unit_amount") | ||
@Expose | ||
private Float unitAmount; | ||
|
||
/** 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; | ||
} | ||
|
||
/** Represents the price for the Ramp Interval. */ | ||
public Float getUnitAmount() { | ||
return this.unitAmount; | ||
} | ||
|
||
/** @param unitAmount Represents the price for the Ramp Interval. */ | ||
public void setUnitAmount(final Float unitAmount) { | ||
this.unitAmount = unitAmount; | ||
} | ||
} |
Oops, something went wrong.