Class: Recurly::Resources::CreditApplicationPolicy

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/credit_application_policy.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

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.

Returns:

  • (Array[String]) —

    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:

  • (String)


15
# File 'lib/recurly/resources/credit_application_policy.rb', line 15

define_attribute :mode, String