Class: Recurly::Resources::CreditApplicationPolicy
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::CreditApplicationPolicy
- Defined in:
- lib/recurly/resources/credit_application_policy.rb
Instance Attribute Summary collapse
-
#allowed_origins ⇒ Array[String]
Optional array of credit invoice origin types to allow when mode is `all`.
-
#mode ⇒ String
Determines which credit invoices are applied to invoices: - `all`: All available credit invoices are applied (default) - `none`: No credit invoices are applied automatically.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#allowed_origins ⇒ Array[String]
Returns Optional array of credit invoice origin types to allow when mode is `all`. If not specified when mode is `all`, credits from all origins are applied. Only valid when mode is `all`.
11 |
# File 'lib/recurly/resources/credit_application_policy.rb', line 11 define_attribute :allowed_origins, Array, { :item_type => String } |
#mode ⇒ String
Returns Determines which credit invoices are applied to invoices: - `all`: All available credit invoices are applied (default) - `none`: No credit invoices are applied automatically.
15 |
# File 'lib/recurly/resources/credit_application_policy.rb', line 15 define_attribute :mode, String |