Class: Customer
Overview
Instance Method Summary
collapse
Methods inherited from JSONable
#from_json!, #to_h, #to_json
Constructor Details
#initialize(h = nil) ⇒ Customer
Returns a new instance of Customer.
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/Entities/customer.rb', line 12
def initialize(h = nil)
if(h != nil)
h.each {
|k,v|
propNameFormatted = k.to_s + "="
if(Customer.instance_methods(false).include?(propNameFormatted.to_sym))
public_send("#{k}=",v)
end
}
end
end
|
Instance Method Details
#ACHs=(aCHs) ⇒ Object
111
112
113
|
# File 'lib/Entities/customer.rb', line 111
def ACHs=(aCHs)
@aCHs = aCHs
end
|
#BillingAddress=(billingAddress) ⇒ Object
103
104
105
|
# File 'lib/Entities/customer.rb', line 103
def BillingAddress=(billingAddress)
@billingAddress = billingAddress
end
|
#Company=(company) ⇒ Object
71
72
73
|
# File 'lib/Entities/customer.rb', line 71
def Company=(company)
@company=company
end
|
#Created=(created) ⇒ Object
75
76
77
|
# File 'lib/Entities/customer.rb', line 75
def Created=(created)
@created = created
end
|
#CreditCards=(creditCards) ⇒ Object
87
88
89
|
# File 'lib/Entities/customer.rb', line 87
def CreditCards=(creditCards)
@creditCards = creditCards
end
|
#CustomerEntities=(customerEntities) ⇒ Object
List<CustomerEntity> type
115
116
117
|
# File 'lib/Entities/customer.rb', line 115
def CustomerEntities=(customerEntities)
@customerEntities = customerEntities
end
|
#CustomerId=(customerId) ⇒ Object
31
32
33
|
# File 'lib/Entities/customer.rb', line 31
def CustomerId=(customerId)
@customerId = customerId
end
|
#CustomFields=(customFields) ⇒ Object
91
92
93
|
# File 'lib/Entities/customer.rb', line 91
def CustomFields=(customFields)
@customFields = customFields
end
|
#Email=(email) ⇒ Object
47
48
49
|
# File 'lib/Entities/customer.rb', line 47
def Email=(email)
@email = email
end
|
#Fax=(fax) ⇒ Object
51
52
53
|
# File 'lib/Entities/customer.rb', line 51
def Fax=(fax)
@fax = fax
end
|
#FirstName=(firstName) ⇒ Object
55
56
57
|
# File 'lib/Entities/customer.rb', line 55
def FirstName=(firstName)
@firstName = firstName
end
|
#FriendlyName=(friendlyName) ⇒ Object
35
36
37
|
# File 'lib/Entities/customer.rb', line 35
def FriendlyName=(friendlyName)
@friendlyName = friendlyName
end
|
#getACHs ⇒ Object
184
185
186
|
# File 'lib/Entities/customer.rb', line 184
def getACHs
return @aCHs
end
|
#getBillingAddress ⇒ Object
172
173
174
|
# File 'lib/Entities/customer.rb', line 172
def getBillingAddress
return @billingAddress
end
|
#getCompany ⇒ Object
148
149
150
|
# File 'lib/Entities/customer.rb', line 148
def getCompany
return @company
end
|
#getCreditCards ⇒ Object
168
169
170
|
# File 'lib/Entities/customer.rb', line 168
def getCreditCards
return @creditCards
end
|
#getCustomerEntities ⇒ Object
164
165
166
|
# File 'lib/Entities/customer.rb', line 164
def getCustomerEntities
return @customerEntities
end
|
#getCustomerId ⇒ Object
132
133
134
|
# File 'lib/Entities/customer.rb', line 132
def getCustomerId
return @customerId
end
|
#getCustomFields ⇒ Object
160
161
162
|
# File 'lib/Entities/customer.rb', line 160
def getCustomFields
return @customFields
end
|
#getFirstName ⇒ Object
136
137
138
|
# File 'lib/Entities/customer.rb', line 136
def getFirstName
return @firstName
end
|
#getLastName ⇒ Object
140
141
142
|
# File 'lib/Entities/customer.rb', line 140
def getLastName
return @lastName
end
|
#getPaymentInstructions ⇒ Object
180
181
182
|
# File 'lib/Entities/customer.rb', line 180
def getPaymentInstructions
return @paymentInstructions
end
|
#getPhone ⇒ Object
156
157
158
|
# File 'lib/Entities/customer.rb', line 156
def getPhone
return @phone
end
|
#getResponseDetails ⇒ Object
192
193
194
|
# File 'lib/Entities/customer.rb', line 192
def getResponseDetails
return @responseDetails
end
|
#getShippingAddress ⇒ Object
176
177
178
|
# File 'lib/Entities/customer.rb', line 176
def getShippingAddress
return @shippingAddress
end
|
#getUniqueIdentifier ⇒ Object
128
129
130
|
# File 'lib/Entities/customer.rb', line 128
def getUniqueIdentifier
return @uniqueIdentifier
end
|
#getUsername ⇒ Object
144
145
146
|
# File 'lib/Entities/customer.rb', line 144
def getUsername
return @username
end
|
#getWallet ⇒ Object
188
189
190
|
# File 'lib/Entities/customer.rb', line 188
def getWallet
return @wallet
end
|
#getWebsite ⇒ Object
152
153
154
|
# File 'lib/Entities/customer.rb', line 152
def getWebsite
return @website
end
|
#LastName=(lastName) ⇒ Object
59
60
61
|
# File 'lib/Entities/customer.rb', line 59
def LastName=(lastName)
@lastName = lastName
end
|
#Options=(options) ⇒ Object
99
100
101
|
# File 'lib/Entities/customer.rb', line 99
def Options=(options)
@options = options
end
|
#PaymentInstructions=(paymentInstructions) ⇒ Object
123
124
125
|
# File 'lib/Entities/customer.rb', line 123
def PaymentInstructions=(paymentInstructions)
@paymentInstructions = paymentInstructions
end
|
#Phone=(phone) ⇒ Object
63
64
65
|
# File 'lib/Entities/customer.rb', line 63
def Phone=(phone)
@phone = phone
end
|
#ResponseDetails=(responseDetails) ⇒ Object
95
96
97
|
# File 'lib/Entities/customer.rb', line 95
def ResponseDetails=(responseDetails)
@responseDetails = responseDetails
end
|
#ShippingAddress=(shippingAddress) ⇒ Object
107
108
109
|
# File 'lib/Entities/customer.rb', line 107
def ShippingAddress=(shippingAddress)
@shippingAddress = shippingAddress
end
|
#Status=(status) ⇒ Object
39
40
41
|
# File 'lib/Entities/customer.rb', line 39
def Status=(status)
@status = status
end
|
#UniqueIdentifier=(uniqueIdentifier) ⇒ Object
43
44
45
|
# File 'lib/Entities/customer.rb', line 43
def UniqueIdentifier=(uniqueIdentifier)
@uniqueIdentifier = uniqueIdentifier
end
|
#Updated=(updated) ⇒ Object
79
80
81
|
# File 'lib/Entities/customer.rb', line 79
def Updated=(updated)
@updated = updated
end
|
#Username=(username) ⇒ Object
83
84
85
|
# File 'lib/Entities/customer.rb', line 83
def Username=(username)
@username = username
end
|
#Wallet=(wallet) ⇒ Object
119
120
121
|
# File 'lib/Entities/customer.rb', line 119
def Wallet=(wallet)
@wallet = wallet
end
|
#Website=(website) ⇒ Object
67
68
69
|
# File 'lib/Entities/customer.rb', line 67
def Website=(website)
@website = website
end
|