Sha256: d3ad8569384f2de451b7321e34ab5b1a850c8d43d63a02a1ae96579aac29f367

Contents?: true

Size: 968 Bytes

Versions: 9

Compression:

Stored size: 968 Bytes

Contents

module GenesisRuby
  module Api
    module Mixins
      module Requests
        module CustomerAddress
          # Mixin BillingInfoAttributes
          module BillingInfoAttributes

            attr_accessor :billing_first_name, :billing_last_name, :billing_address1, :billing_address2,
                          :billing_zip_code, :billing_city, :billing_state, :billing_country

            protected

            # Build Hash with all parameters
            def billing_address_parameters_structure
              {
                first_name: billing_first_name,
                last_name:  billing_last_name,
                address1:   billing_address1,
                address2:   billing_address2,
                zip_code:   billing_zip_code,
                city:       billing_city,
                state:      billing_state,
                country:    billing_country
              }
            end

          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
genesis_ruby-0.1.8 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
genesis_ruby-0.1.7 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
genesis_ruby-0.1.6 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
genesis_ruby-0.1.5 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
genesis_ruby-0.1.4 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
genesis_ruby-0.1.3 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
genesis_ruby-0.1.2 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
genesis_ruby-0.1.1 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb
genesis_ruby-0.1.0 lib/genesis_ruby/api/mixins/requests/customer_address/billing_info_attributes.rb