Class: Recurly::Requests::ShippingPurchase

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/shipping_purchase.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Request

#attributes

Method Summary

Methods inherited from Recurly::Request

#==, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::RequestCaster

#cast_request

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#addressShippingAddressCreate



11
# File 'lib/recurly/requests/shipping_purchase.rb', line 11

define_attribute :address, :ShippingAddressCreate

#address_idString

Returns Assign a shipping address from the account's existing shipping addresses. If this and `address` are both present, `address` will take precedence.

Returns:

  • (String)

    Assign a shipping address from the account's existing shipping addresses. If this and `address` are both present, `address` will take precedence.



15
# File 'lib/recurly/requests/shipping_purchase.rb', line 15

define_attribute :address_id, String

#feesArray[ShippingFeeCreate]

Returns A list of shipping fees to be created as charges with the purchase.

Returns:

  • (Array[ShippingFeeCreate])

    A list of shipping fees to be created as charges with the purchase.



19
# File 'lib/recurly/requests/shipping_purchase.rb', line 19

define_attribute :fees, Array, { :item_type => :ShippingFeeCreate }