Class: Stripe::PaymentRecord::ShippingDetails::Address

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/payment_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, #_get_union_variant_class, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, inner_class_union_variant_types, #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

#city ⇒ Object (readonly)

City, district, suburb, town, or village.



2011
2012
2013
# File 'lib/stripe/resources/payment_record.rb', line 2011

def city
  @city
end

#country ⇒ Object (readonly)

Two-letter country code (ISO 3166-1 alpha-2).



2013
2014
2015
# File 'lib/stripe/resources/payment_record.rb', line 2013

def country
  @country
end

#line1 ⇒ Object (readonly)

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



2015
2016
2017
# File 'lib/stripe/resources/payment_record.rb', line 2015

def line1
  @line1
end

#line2 ⇒ Object (readonly)

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



2017
2018
2019
# File 'lib/stripe/resources/payment_record.rb', line 2017

def line2
  @line2
end

#postal_code ⇒ Object (readonly)

ZIP or postal code.



2019
2020
2021
# File 'lib/stripe/resources/payment_record.rb', line 2019

def postal_code
  @postal_code
end

#state ⇒ Object (readonly)

State, county, province, or region (ISO 3166-2).



2021
2022
2023
# File 'lib/stripe/resources/payment_record.rb', line 2021

def state
  @state
end

Class Method Details

.field_remappings ⇒ Object



2027
2028
2029
# File 'lib/stripe/resources/payment_record.rb', line 2027

def self.field_remappings
  @field_remappings = {}
end

.inner_class_types ⇒ Object



2023
2024
2025
# File 'lib/stripe/resources/payment_record.rb', line 2023

def self.inner_class_types
  @inner_class_types = {}
end