Skip to content

Commit

Permalink
Generated Latest Changes for v2019-10-10
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations authored Mar 19, 2024
1 parent 9a21004 commit 0c15f58
Show file tree
Hide file tree
Showing 13 changed files with 353 additions and 19 deletions.
82 changes: 74 additions & 8 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ paths:
Alabama St.\"),\n\t\t\tCity: recurly.String(\"San Francisco\"),\n\t\t\tPostalCode:
recurly.String(\"94110\"),\n\t\t\tCountry: recurly.String(\"US\"),\n\t\t\tRegion:
\ recurly.String(\"CA\"),\n\t\t},\n\t\tNumber: recurly.String(\"4111111111111111\"),\n\t\tMonth:
\ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"22\"),\n\t\tCvv:
\ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"30\"),\n\t\tCvv:
\ recurly.String(\"123\"),\n\t},\n}\n\naccount, err := client.CreateAccount(accountReq)\nif
e, ok := err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeValidation
{\n\t\tfmt.Printf(\"Failed validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
Expand Down Expand Up @@ -3195,6 +3195,7 @@ paths:
- "$ref": "#/components/parameters/site_id"
- "$ref": "#/components/parameters/account_id"
- "$ref": "#/components/parameters/ids"
- "$ref": "#/components/parameters/invoice_state"
- "$ref": "#/components/parameters/limit"
- "$ref": "#/components/parameters/order"
- "$ref": "#/components/parameters/sort_dates"
Expand Down Expand Up @@ -7394,6 +7395,7 @@ paths:
parameters:
- "$ref": "#/components/parameters/site_id"
- "$ref": "#/components/parameters/ids"
- "$ref": "#/components/parameters/invoice_state"
- "$ref": "#/components/parameters/limit"
- "$ref": "#/components/parameters/order"
- "$ref": "#/components/parameters/sort_dates"
Expand Down Expand Up @@ -7888,8 +7890,6 @@ paths:
summary: Apply available credit to a pending or past due charge invoice
description: Apply credit payment to the outstanding balance on an existing
charge invoice from an account’s available balance from existing credit invoices.
Credit that was refunded from the invoice cannot be applied back to the invoice
as payment.
parameters:
- "$ref": "#/components/parameters/site_id"
- "$ref": "#/components/parameters/invoice_id"
Expand Down Expand Up @@ -13059,6 +13059,7 @@ paths:
- "$ref": "#/components/parameters/site_id"
- "$ref": "#/components/parameters/subscription_id"
- "$ref": "#/components/parameters/ids"
- "$ref": "#/components/parameters/invoice_state"
- "$ref": "#/components/parameters/limit"
- "$ref": "#/components/parameters/order"
- "$ref": "#/components/parameters/sort_dates"
Expand Down Expand Up @@ -14724,6 +14725,18 @@ components:
required: true
schema:
type: string
invoice_state:
name: state
in: query
description: Invoice state.
schema:
type: string
default: all
enum:
- pending
- past_due
- paid
- failed
measured_unit_id:
name: measured_unit_id
in: path
Expand Down Expand Up @@ -15932,6 +15945,11 @@ components:
type: string
title: Country
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
AddOnMini:
type: object
title: Add-on mini details
Expand Down Expand Up @@ -16652,16 +16670,30 @@ components:
properties:
account_reference:
type: string
description: Used by Adyen gateways. The Shopper Reference value used
when the external token was created. Must be used in conjunction with
gateway_token and gateway_code.
description: Used by Adyen and Braintree gateways. For Adyen The Shopper
Reference value used when the external token was created. Must be
used in conjunction with gateway_token and gateway_code. For Braintree
the PayPal PayerID is populated in the response.
maxLength: 264
card_network_preference:
type: string
description: Represents the card network preference associated with the
billing info for dual badged cards. Must be a supported card network.
enum:
- Bancontact
- CartesBancaires
- Dankort
- MasterCard
- Visa
amazon_billing_agreement_id:
type: string
title: Amazon billing agreement ID
paypal_billing_agreement_id:
type: string
title: PayPal billing agreement ID
roku_billing_agreement_id:
type: string
title: Roku's CIB if billing through Roku
fraud_session_id:
type: string
title: Fraud Session ID
Expand Down Expand Up @@ -19734,6 +19766,11 @@ components:
type: string
maxLength: 50
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
created_at:
type: string
title: Created at
Expand Down Expand Up @@ -19789,6 +19826,11 @@ components:
type: string
maxLength: 50
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
required:
- first_name
- last_name
Expand Down Expand Up @@ -20039,6 +20081,11 @@ components:
type: string
maxLength: 50
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
Site:
type: object
properties:
Expand Down Expand Up @@ -21334,6 +21381,14 @@ components:
remaining_billing_cycles:
type: integer
description: Represents how many billing cycles are left in a ramp interval.
starting_on:
type: string
format: date-time
title: Date the ramp interval starts
ending_on:
type: string
format: date-time
title: Date the ramp interval ends
unit_amount:
type: integer
description: Represents the price for the ramp interval.
Expand Down Expand Up @@ -22275,9 +22330,20 @@ components:
properties:
account_reference:
type: string
description: Used by Adyen gateways. The Shopper Reference value used
when the external token was created.
description: Used by Adyen and Braintree gateways. For Adyen the Shopper
Reference value used when the external token was created. For Braintree
the PayPal PayerID is populated in the response.
maxLength: 264
card_network_preference:
type: string
description: Represents the card network preference associated with the
billing info for dual badged cards. Must be a supported card network.
enum:
- Bancontact
- CartesBancaires
- Dankort
- MasterCard
- Visa
billing_agreement_id:
type: string
description: Billing Agreement identifier. Only present for Amazon or Paypal
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/requests/Address.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ public class Address extends Request {
@Expose
private String firstName;

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
@SerializedName("geo_code")
@Expose
private String geoCode;

/** Last name */
@SerializedName("last_name")
@Expose
Expand Down Expand Up @@ -87,6 +95,22 @@ public void setFirstName(final String firstName) {
this.firstName = firstName;
}

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
public String getGeoCode() {
return this.geoCode;
}

/**
* @param geoCode Code that represents a geographic entity (location or object). Only returned for
* Sling Vertex Integration
*/
public void setGeoCode(final String geoCode) {
this.geoCode = geoCode;
}

/** Last name */
public String getLastName() {
return this.lastName;
Expand Down
39 changes: 39 additions & 0 deletions src/main/java/com/recurly/v3/requests/BillingInfoCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ public class BillingInfoCreate extends Request {
@Expose
private Boolean backupPaymentMethod;

/**
* Represents the card network preference associated with the billing info for dual badged cards.
* Must be a supported card network.
*/
@SerializedName("card_network_preference")
@Expose
private String cardNetworkPreference;

/** Company name */
@SerializedName("company")
@Expose
Expand Down Expand Up @@ -138,6 +146,11 @@ public class BillingInfoCreate extends Request {
@Expose
private Boolean primaryPaymentMethod;

/** Roku's CIB if billing through Roku */
@SerializedName("roku_billing_agreement_id")
@Expose
private String rokuBillingAgreementId;

/** The bank's rounting number. (ACH only) */
@SerializedName("routing_number")
@Expose
Expand Down Expand Up @@ -268,6 +281,22 @@ public void setBackupPaymentMethod(final Boolean backupPaymentMethod) {
this.backupPaymentMethod = backupPaymentMethod;
}

/**
* Represents the card network preference associated with the billing info for dual badged cards.
* Must be a supported card network.
*/
public String getCardNetworkPreference() {
return this.cardNetworkPreference;
}

/**
* @param cardNetworkPreference Represents the card network preference associated with the billing
* info for dual badged cards. Must be a supported card network.
*/
public void setCardNetworkPreference(final String cardNetworkPreference) {
this.cardNetworkPreference = cardNetworkPreference;
}

/** Company name */
public String getCompany() {
return this.company;
Expand Down Expand Up @@ -465,6 +494,16 @@ public void setPrimaryPaymentMethod(final Boolean primaryPaymentMethod) {
this.primaryPaymentMethod = primaryPaymentMethod;
}

/** Roku's CIB if billing through Roku */
public String getRokuBillingAgreementId() {
return this.rokuBillingAgreementId;
}

/** @param rokuBillingAgreementId Roku's CIB if billing through Roku */
public void setRokuBillingAgreementId(final String rokuBillingAgreementId) {
this.rokuBillingAgreementId = rokuBillingAgreementId;
}

/** The bank's rounting number. (ACH only) */
public String getRoutingNumber() {
return this.routingNumber;
Expand Down
17 changes: 10 additions & 7 deletions src/main/java/com/recurly/v3/requests/GatewayAttributes.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,28 @@
public class GatewayAttributes extends Request {

/**
* Used by Adyen gateways. The Shopper Reference value used when the external token was created.
* Must be used in conjunction with gateway_token and gateway_code.
* Used by Adyen and Braintree gateways. For Adyen The Shopper Reference value used when the
* external token was created. Must be used in conjunction with gateway_token and gateway_code.
* For Braintree the PayPal PayerID is populated in the response.
*/
@SerializedName("account_reference")
@Expose
private String accountReference;

/**
* Used by Adyen gateways. The Shopper Reference value used when the external token was created.
* Must be used in conjunction with gateway_token and gateway_code.
* Used by Adyen and Braintree gateways. For Adyen The Shopper Reference value used when the
* external token was created. Must be used in conjunction with gateway_token and gateway_code.
* For Braintree the PayPal PayerID is populated in the response.
*/
public String getAccountReference() {
return this.accountReference;
}

/**
* @param accountReference Used by Adyen gateways. The Shopper Reference value used when the
* external token was created. Must be used in conjunction with gateway_token and
* gateway_code.
* @param accountReference Used by Adyen and Braintree gateways. For Adyen The Shopper Reference
* value used when the external token was created. Must be used in conjunction with
* gateway_token and gateway_code. For Braintree the PayPal PayerID is populated in the
* response.
*/
public void setAccountReference(final String accountReference) {
this.accountReference = accountReference;
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/requests/InvoiceAddress.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ public class InvoiceAddress extends Request {
@Expose
private String firstName;

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
@SerializedName("geo_code")
@Expose
private String geoCode;

/** Last name */
@SerializedName("last_name")
@Expose
Expand Down Expand Up @@ -107,6 +115,22 @@ public void setFirstName(final String firstName) {
this.firstName = firstName;
}

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
public String getGeoCode() {
return this.geoCode;
}

/**
* @param geoCode Code that represents a geographic entity (location or object). Only returned for
* Sling Vertex Integration
*/
public void setGeoCode(final String geoCode) {
this.geoCode = geoCode;
}

/** Last name */
public String getLastName() {
return this.lastName;
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ public class ShippingAddressCreate extends Request {
@Expose
private String firstName;

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
@SerializedName("geo_code")
@Expose
private String geoCode;

@SerializedName("last_name")
@Expose
private String lastName;
Expand Down Expand Up @@ -113,6 +121,22 @@ public void setFirstName(final String firstName) {
this.firstName = firstName;
}

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
public String getGeoCode() {
return this.geoCode;
}

/**
* @param geoCode Code that represents a geographic entity (location or object). Only returned for
* Sling Vertex Integration
*/
public void setGeoCode(final String geoCode) {
this.geoCode = geoCode;
}

public String getLastName() {
return this.lastName;
}
Expand Down
Loading

0 comments on commit 0c15f58

Please sign in to comment.