Class: MangoModel::Address

Inherits:
Object
  • Object
show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/address.rb

Overview

Represents an address.

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Method Summary

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Instance Attribute Details

#address_line1Object

String

First line of its details



10
11
12
# File 'lib/mangopay/model/address.rb', line 10

def address_line1
  @address_line1
end

#address_line2Object

String

Second line of its details



13
14
15
# File 'lib/mangopay/model/address.rb', line 13

def address_line2
  @address_line2
end

#cityObject

String

Its city



16
17
18
# File 'lib/mangopay/model/address.rb', line 16

def city
  @city
end

#countryObject

CountryIso

Its country



25
26
27
# File 'lib/mangopay/model/address.rb', line 25

def country
  @country
end

#postal_codeObject

String

Its postal code



22
23
24
# File 'lib/mangopay/model/address.rb', line 22

def postal_code
  @postal_code
end

#regionObject

String

Its region



19
20
21
# File 'lib/mangopay/model/address.rb', line 19

def region
  @region
end