Class: Recurly::Resources::ErrorMayHaveTransaction

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/error_may_have_transaction.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

#messageString

Returns Message.

Returns:

  • (String)

    Message



11
# File 'lib/recurly/resources/error_may_have_transaction.rb', line 11

define_attribute :message, String

#paramsArray[Hash]

Returns Parameter specific errors.

Returns:

  • (Array[Hash])

    Parameter specific errors



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

define_attribute :params, Array, { :item_type => Hash }

#transaction_errorTransactionError

Returns This is only included on errors with `type=transaction`.

Returns:

  • (TransactionError)

    This is only included on errors with `type=transaction`.



19
# File 'lib/recurly/resources/error_may_have_transaction.rb', line 19

define_attribute :transaction_error, :TransactionError

#typeString

Returns Type.

Returns:

  • (String)

    Type



23
# File 'lib/recurly/resources/error_may_have_transaction.rb', line 23

define_attribute :type, String