Class: Recurly::Resources::PaymentGatewayReferences

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

#reference_typeString

Returns The type of reference token. Required if token is passed in for Stripe Gateway.

Returns:

  • (String)

    The type of reference token. Required if token is passed in for Stripe Gateway.



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

define_attribute :reference_type, String

#tokenString

Returns Reference value used when the external token was created. If Stripe gateway is used, this value will need to be accompanied by its reference_type.

Returns:

  • (String)

    Reference value used when the external token was created. If Stripe gateway is used, this value will need to be accompanied by its reference_type.



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

define_attribute :token, String