Class: MangoModel::Client

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

Overview

Client entity The Client object allows viewing and editing of various details concerning the implementing platform.

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

#admin_emailsObject

Array

List of email addresses for contacting its

administration/commercial team



35
36
37
# File 'lib/mangopay/model/entity/client.rb', line 35

def admin_emails
  @admin_emails
end

#billing_emailsObject

Array

List of email addresses for contacting its billing team



42
43
44
# File 'lib/mangopay/model/entity/client.rb', line 42

def billing_emails
  @billing_emails
end

#client_idObject

String

Its ID



18
19
20
# File 'lib/mangopay/model/entity/client.rb', line 18

def client_id
  @client_id
end

#company_referenceObject

String

Its company’s unique MangoPay reference to be used when

contacting the MangoPay team



61
62
63
# File 'lib/mangopay/model/entity/client.rb', line 61

def company_reference
  @company_reference
end

#fraud_emailsObject

Array

List of email addresses for contacting its

fraud prevention/compliance team



39
40
41
# File 'lib/mangopay/model/entity/client.rb', line 39

def fraud_emails
  @fraud_emails
end

#headquarters_addressObject

Address

Its company’s headquarters’ address



54
55
56
# File 'lib/mangopay/model/entity/client.rb', line 54

def headquarters_address
  @headquarters_address
end

#headquarters_phone_numberObject

String

It’s company’s headquarter’s phone number



64
65
66
# File 'lib/mangopay/model/entity/client.rb', line 64

def headquarters_phone_number
  @headquarters_phone_number
end

#logoObject

String

URL of its logo



27
28
29
# File 'lib/mangopay/model/entity/client.rb', line 27

def 
  @logo
end

#nameObject

String

Its pretty name



12
13
14
# File 'lib/mangopay/model/entity/client.rb', line 12

def name
  @name
end

#platform_categorizationObject

PlatformCategorization

Categorization details of the platform



48
49
50
# File 'lib/mangopay/model/entity/client.rb', line 48

def platform_categorization
  @platform_categorization
end

#platform_descriptionObject

String

Description of what its implementing platform does



45
46
47
# File 'lib/mangopay/model/entity/client.rb', line 45

def platform_description
  @platform_description
end

#platform_urlObject

String

Its implementing platform’s website URL



51
52
53
# File 'lib/mangopay/model/entity/client.rb', line 51

def platform_url
  @platform_url
end

#primary_button_colourObject

String

Its primary branding colour for buttons (Hex code)



24
25
26
# File 'lib/mangopay/model/entity/client.rb', line 24

def primary_button_colour
  @primary_button_colour
end

#primary_theme_colourObject

String

Its primary branding colour (Hex code)



21
22
23
# File 'lib/mangopay/model/entity/client.rb', line 21

def primary_theme_colour
  @primary_theme_colour
end

#registered_nameObject

String

Its registered company name



15
16
17
# File 'lib/mangopay/model/entity/client.rb', line 15

def registered_name
  @registered_name
end

#tax_numberObject

String

Its company’s tax (or VAT) number



57
58
59
# File 'lib/mangopay/model/entity/client.rb', line 57

def tax_number
  @tax_number
end

#tech_emailsObject

Array

List of email addresses for contacting its technical

support team



31
32
33
# File 'lib/mangopay/model/entity/client.rb', line 31

def tech_emails
  @tech_emails
end