diff --git a/lib/recurly/requests/invoice_create.rb b/lib/recurly/requests/invoice_create.rb index 6ca8f0824..78f0e3f6e 100644 --- a/lib/recurly/requests/invoice_create.rb +++ b/lib/recurly/requests/invoice_create.rb @@ -27,7 +27,7 @@ class InvoiceCreate < Request define_attribute :net_terms, Integer # @!attribute net_terms_type - # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. This field is only available when the EOM Net Terms feature is enabled. + # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. define_attribute :net_terms_type, String # @!attribute po_number diff --git a/lib/recurly/requests/purchase_create.rb b/lib/recurly/requests/purchase_create.rb index 8a7c07e37..8f00e5925 100644 --- a/lib/recurly/requests/purchase_create.rb +++ b/lib/recurly/requests/purchase_create.rb @@ -51,7 +51,7 @@ class PurchaseCreate < Request define_attribute :net_terms, Integer # @!attribute net_terms_type - # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. This field is only available when the EOM Net Terms feature is enabled. + # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. define_attribute :net_terms_type, String # @!attribute po_number diff --git a/lib/recurly/requests/subscription_change_create.rb b/lib/recurly/requests/subscription_change_create.rb index 031a17c38..bfd5a2f6d 100644 --- a/lib/recurly/requests/subscription_change_create.rb +++ b/lib/recurly/requests/subscription_change_create.rb @@ -31,7 +31,7 @@ class SubscriptionChangeCreate < Request define_attribute :net_terms, Integer # @!attribute net_terms_type - # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. This field is only available when the EOM Net Terms feature is enabled. + # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. define_attribute :net_terms_type, String # @!attribute plan_code diff --git a/lib/recurly/requests/subscription_create.rb b/lib/recurly/requests/subscription_create.rb index c56570a33..73e3f9a00 100644 --- a/lib/recurly/requests/subscription_create.rb +++ b/lib/recurly/requests/subscription_create.rb @@ -59,7 +59,7 @@ class SubscriptionCreate < Request define_attribute :net_terms, Integer # @!attribute net_terms_type - # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. This field is only available when the EOM Net Terms feature is enabled. + # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. define_attribute :net_terms_type, String # @!attribute next_bill_date diff --git a/lib/recurly/requests/subscription_update.rb b/lib/recurly/requests/subscription_update.rb index a59f83a91..37d5d46e6 100644 --- a/lib/recurly/requests/subscription_update.rb +++ b/lib/recurly/requests/subscription_update.rb @@ -35,7 +35,7 @@ class SubscriptionUpdate < Request define_attribute :net_terms, Integer # @!attribute net_terms_type - # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. This field is only available when the EOM Net Terms feature is enabled. + # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. define_attribute :net_terms_type, String # @!attribute next_bill_date diff --git a/lib/recurly/resources/invoice.rb b/lib/recurly/resources/invoice.rb index 404ceec9d..ea05221f6 100644 --- a/lib/recurly/resources/invoice.rb +++ b/lib/recurly/resources/invoice.rb @@ -87,7 +87,7 @@ class Invoice < Resource define_attribute :net_terms, Integer # @!attribute net_terms_type - # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. This field is only available when the EOM Net Terms feature is enabled. + # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. define_attribute :net_terms_type, String # @!attribute number diff --git a/lib/recurly/resources/subscription.rb b/lib/recurly/resources/subscription.rb index d87cd37b3..86bb41fc2 100644 --- a/lib/recurly/resources/subscription.rb +++ b/lib/recurly/resources/subscription.rb @@ -111,7 +111,7 @@ class Subscription < Resource define_attribute :net_terms, Integer # @!attribute net_terms_type - # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. This field is only available when the EOM Net Terms feature is enabled. + # @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. define_attribute :net_terms_type, String # @!attribute object diff --git a/openapi/api.yaml b/openapi/api.yaml index ad7a4e4d7..cd91007ff 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -25178,8 +25178,6 @@ components: Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month. - - This field is only available when the EOM Net Terms feature is enabled. enum: - net - eom