Class: Recurly::Resources::SubscriptionShipping

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

#address ⇒ ShippingAddress

Returns:



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

define_attribute :address, :ShippingAddress

#amount ⇒ Float

Returns Subscription's shipping cost.

Returns:

  • (Float) —

    Subscription's shipping cost



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

define_attribute :amount, Float

#method ⇒ ShippingMethodMini

Returns:



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

define_attribute :method, :ShippingMethodMini

#object ⇒ String

Returns Object type.

Returns:

  • (String) —

    Object type



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

define_attribute :object, String