Class: Stripe::PaymentAttemptRecord::ShippingDetails::Address

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/payment_attempt_record.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#cityObject (readonly)

City, district, suburb, town, or village.



1797
1798
1799
# File 'lib/stripe/resources/payment_attempt_record.rb', line 1797

def city
  @city
end

#countryObject (readonly)

Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).



1799
1800
1801
# File 'lib/stripe/resources/payment_attempt_record.rb', line 1799

def country
  @country
end

#line1Object (readonly)

Address line 1, such as the street, PO Box, or company name.



1801
1802
1803
# File 'lib/stripe/resources/payment_attempt_record.rb', line 1801

def line1
  @line1
end

#line2Object (readonly)

Address line 2, such as the apartment, suite, unit, or building.



1803
1804
1805
# File 'lib/stripe/resources/payment_attempt_record.rb', line 1803

def line2
  @line2
end

#postal_codeObject (readonly)

ZIP or postal code.



1805
1806
1807
# File 'lib/stripe/resources/payment_attempt_record.rb', line 1805

def postal_code
  @postal_code
end

#stateObject (readonly)

State, county, province, or region.



1807
1808
1809
# File 'lib/stripe/resources/payment_attempt_record.rb', line 1807

def state
  @state
end

Class Method Details

.field_remappingsObject



1813
1814
1815
# File 'lib/stripe/resources/payment_attempt_record.rb', line 1813

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



1809
1810
1811
# File 'lib/stripe/resources/payment_attempt_record.rb', line 1809

def self.inner_class_types
  @inner_class_types = {}
end