Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2019-10-10 #903

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/recurly/client/operations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@ def list_account_credit_payments(account_id:, **options)
# * Records are returned in an arbitrary order. Since results are all
# returned at once you can sort the records yourself.
#
# @param state [String] Invoice state.
# @param limit [Integer] Limit number of records 1-200.
# @param order [String] Sort order.
# @param sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
Expand Down Expand Up @@ -1952,6 +1953,7 @@ def remove_measured_unit(measured_unit_id:, **options)
# * Records are returned in an arbitrary order. Since results are all
# returned at once you can sort the records yourself.
#
# @param state [String] Invoice state.
# @param limit [Integer] Limit number of records 1-200.
# @param order [String] Sort order.
# @param sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
Expand Down Expand Up @@ -3367,6 +3369,7 @@ def preview_subscription_change(subscription_id:, body:, **options)
# * Records are returned in an arbitrary order. Since results are all
# returned at once you can sort the records yourself.
#
# @param state [String] Invoice state.
# @param limit [Integer] Limit number of records 1-200.
# @param order [String] Sort order.
# @param sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/account_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class AccountCreate < Request
# @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
define_attribute :email, String

# @!attribute entity_use_code
# @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
define_attribute :entity_use_code, String

# @!attribute exemption_certificate
# @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
define_attribute :exemption_certificate, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/account_purchase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class AccountPurchase < Request
# @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
define_attribute :email, String

# @!attribute entity_use_code
# @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
define_attribute :entity_use_code, String

# @!attribute exemption_certificate
# @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
define_attribute :exemption_certificate, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/account_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class AccountUpdate < Request
# @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
define_attribute :email, String

# @!attribute entity_use_code
# @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
define_attribute :entity_use_code, String

# @!attribute exemption_certificate
# @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
define_attribute :exemption_certificate, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class Address < Request
# @return [String] First name
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String] Last name
define_attribute :last_name, String
Expand Down
8 changes: 8 additions & 0 deletions lib/recurly/requests/billing_info_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class BillingInfoCreate < Request
# @return [Boolean] The `backup_payment_method` field is used to designate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined. All payment methods, including the billing info marked `primary_payment_method` can be set as a backup. An account can have a maximum of 1 backup, if a user sets a different payment method as a backup, the existing backup will no longer be marked as such.
define_attribute :backup_payment_method, :Boolean

# @!attribute card_network_preference
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
define_attribute :card_network_preference, String

# @!attribute company
# @return [String] Company name
define_attribute :company, String
Expand Down Expand Up @@ -90,6 +94,10 @@ class BillingInfoCreate < Request
# @return [Boolean] The `primary_payment_method` field is used to designate the primary billing info on the account. The first billing info created on an account will always become primary. Adding additional billing infos provides the flexibility to mark another billing info as primary, or adding additional non-primary billing infos. This can be accomplished by passing the `primary_payment_method` with a value of `true`. When adding billing infos via the billing_info and /accounts endpoints, this value is not permitted, and will return an error if provided.
define_attribute :primary_payment_method, :Boolean

# @!attribute roku_billing_agreement_id
# @return [String] Roku's CIB if billing through Roku
define_attribute :roku_billing_agreement_id, String

# @!attribute routing_number
# @return [String] The bank's rounting number. (ACH only)
define_attribute :routing_number, String
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/requests/gateway_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Requests
class GatewayAttributes < Request

# @!attribute account_reference
# @return [String] 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.
# @return [String] 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.
define_attribute :account_reference, String
end
end
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/invoice_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class InvoiceAddress < Request
# @return [String] First name
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String] Last name
define_attribute :last_name, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/shipping_address_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class ShippingAddressCreate < Request
# @return [String]
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String]
define_attribute :last_name, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/shipping_address_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class ShippingAddressUpdate < Request
# @return [String]
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute id
# @return [String] Shipping Address ID
define_attribute :id, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ class Account < Resource
# @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
define_attribute :email, String

# @!attribute entity_use_code
# @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
define_attribute :entity_use_code, String

# @!attribute exemption_certificate
# @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
define_attribute :exemption_certificate, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class Address < Resource
# @return [String] First name
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String] Last name
define_attribute :last_name, String
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/resources/gateway_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Resources
class GatewayAttributes < Resource

# @!attribute account_reference
# @return [String] Used by Adyen gateways. The Shopper Reference value used when the external token was created.
# @return [String] 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.
define_attribute :account_reference, String
end
end
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/invoice_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class InvoiceAddress < Resource
# @return [String] First name
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String] Last name
define_attribute :last_name, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/payment_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ class PaymentMethod < Resource
# @return [String] Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
define_attribute :billing_agreement_id, String

# @!attribute card_network_preference
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
define_attribute :card_network_preference, String

# @!attribute card_type
# @return [String] Visa, MasterCard, American Express, Discover, JCB, etc.
define_attribute :card_type, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/shipping_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ class ShippingAddress < Resource
# @return [String]
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute id
# @return [String] Shipping Address ID
define_attribute :id, String
Expand Down
8 changes: 8 additions & 0 deletions lib/recurly/resources/subscription_ramp_interval_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ module Recurly
module Resources
class SubscriptionRampIntervalResponse < Resource

# @!attribute ending_on
# @return [DateTime] Date the ramp interval ends
define_attribute :ending_on, DateTime

# @!attribute remaining_billing_cycles
# @return [Integer] Represents how many billing cycles are left in a ramp interval.
define_attribute :remaining_billing_cycles, Integer
Expand All @@ -14,6 +18,10 @@ class SubscriptionRampIntervalResponse < Resource
# @return [Integer] Represents the billing cycle where a ramp interval starts.
define_attribute :starting_billing_cycle, Integer

# @!attribute starting_on
# @return [DateTime] Date the ramp interval starts
define_attribute :starting_on, DateTime

# @!attribute unit_amount
# @return [Integer] Represents the price for the ramp interval.
define_attribute :unit_amount, Integer
Expand Down
Loading
Loading