transferzero-sdk 1.14.0 → 1.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -5
  3. data/docs/AccountValidationRequest.md +2 -0
  4. data/docs/PayoutMethod.md +1 -1
  5. data/docs/{PayoutMethodEntityTypeEnum.md → PayoutMethodCountryEnumUSDBank.md} +2 -2
  6. data/docs/PayoutMethodDetails.md +12 -8
  7. data/docs/PayoutMethodDetailsKESBank.md +37 -0
  8. data/docs/PayoutMethodDetailsKESMobile.md +31 -0
  9. data/docs/PayoutMethodDetailsUSDBank.md +27 -0
  10. data/docs/PayoutMethodDetailsXOFBank.md +5 -3
  11. data/docs/PayoutMethodDetailsZARBank.md +3 -3
  12. data/docs/PayoutMethodLegalEntityTypeEnum.md +16 -0
  13. data/docs/PayoutMethodNatureOfBusinessEnum.md +16 -0
  14. data/docs/TransactionsApi.md +2 -0
  15. data/lib/transferzero-sdk.rb +6 -1
  16. data/lib/transferzero-sdk/api/transactions_api.rb +6 -0
  17. data/lib/transferzero-sdk/api_client.rb +2 -2
  18. data/lib/transferzero-sdk/models/account_validation_request.rb +15 -5
  19. data/lib/transferzero-sdk/models/payout_method.rb +1 -1
  20. data/lib/transferzero-sdk/models/payout_method_country_enum.rb +234 -8
  21. data/lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb +269 -0
  22. data/lib/transferzero-sdk/models/payout_method_details.rb +55 -14
  23. data/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +343 -0
  24. data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +306 -0
  25. data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +278 -0
  26. data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +14 -15
  27. data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +9 -9
  28. data/lib/transferzero-sdk/models/{payout_method_entity_type_enum.rb → payout_method_legal_entity_type_enum.rb} +3 -3
  29. data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +1 -0
  30. data/lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb +65 -0
  31. data/lib/transferzero-sdk/version.rb +1 -1
  32. data/spec/models/payout_method_country_enum_usd_bank_spec.rb +35 -0
  33. data/spec/models/payout_method_details_kes_bank_spec.rb +101 -0
  34. data/spec/models/payout_method_details_kes_mobile_spec.rb +83 -0
  35. data/spec/models/payout_method_details_usd_bank_spec.rb +71 -0
  36. data/spec/models/{payout_method_entity_type_enum_spec.rb → payout_method_legal_entity_type_enum_spec.rb} +6 -6
  37. data/spec/models/payout_method_nature_of_business_enum_spec.rb +35 -0
  38. metadata +36 -20
  39. data/Gemfile.lock +0 -93
  40. data/transferzero-sdk-1.10.0.gem +0 -0
  41. data/transferzero-sdk-1.11.0.gem +0 -0
  42. data/transferzero-sdk-1.12.0.gem +0 -0
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
13
13
  require 'date'
14
14
 
15
15
  module TransferZero
16
- # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"iban\": \"SN08SN0000000000000000000000\", \"bank_name\": \"BRM\", \"bank_country\": \"SN\" # ISO country code for Senegal } ```
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"iban\": \"BJ0610100100144390000769\", # BBAN format \"bank_name\": \"Bank Of Africa Bénin\", \"bank_country\": \"BJ\", # ISO country code for Benin \"bank_code\": \"BJ061\" } ``` See [XOF Bank](https://docs.transferzero.com/docs/payout-details/#xofbank) documentation for the bank_code list
17
17
  class PayoutMethodDetailsXOFBank
18
18
  attr_accessor :first_name
19
19
 
@@ -25,6 +25,8 @@ class PayoutMethodDetailsXOFBank
25
25
 
26
26
  attr_accessor :bank_country
27
27
 
28
+ attr_accessor :bank_code
29
+
28
30
  # Attribute mapping from ruby-style variable name to JSON key.
29
31
  def self.attribute_map
30
32
  {
@@ -32,7 +34,8 @@ class PayoutMethodDetailsXOFBank
32
34
  :'last_name' => :'last_name',
33
35
  :'iban' => :'iban',
34
36
  :'bank_name' => :'bank_name',
35
- :'bank_country' => :'bank_country'
37
+ :'bank_country' => :'bank_country',
38
+ :'bank_code' => :'bank_code'
36
39
  }
37
40
  end
38
41
 
@@ -43,7 +46,8 @@ class PayoutMethodDetailsXOFBank
43
46
  :'last_name' => :'String',
44
47
  :'iban' => :'String',
45
48
  :'bank_name' => :'String',
46
- :'bank_country' => :'String'
49
+ :'bank_country' => :'String',
50
+ :'bank_code' => :'String'
47
51
  }
48
52
  end
49
53
 
@@ -81,6 +85,10 @@ class PayoutMethodDetailsXOFBank
81
85
  if attributes.key?(:'bank_country')
82
86
  self.bank_country = attributes[:'bank_country']
83
87
  end
88
+
89
+ if attributes.key?(:'bank_code')
90
+ self.bank_code = attributes[:'bank_code']
91
+ end
84
92
  end
85
93
 
86
94
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -99,14 +107,6 @@ class PayoutMethodDetailsXOFBank
99
107
  invalid_properties.push('invalid value for "iban", iban cannot be nil.')
100
108
  end
101
109
 
102
- if @bank_name.nil?
103
- invalid_properties.push('invalid value for "bank_name", bank_name cannot be nil.')
104
- end
105
-
106
- if @bank_country.nil?
107
- invalid_properties.push('invalid value for "bank_country", bank_country cannot be nil.')
108
- end
109
-
110
110
  invalid_properties
111
111
  end
112
112
 
@@ -116,8 +116,6 @@ class PayoutMethodDetailsXOFBank
116
116
  return false if @first_name.nil?
117
117
  return false if @last_name.nil?
118
118
  return false if @iban.nil?
119
- return false if @bank_name.nil?
120
- return false if @bank_country.nil?
121
119
  true
122
120
  end
123
121
 
@@ -130,7 +128,8 @@ class PayoutMethodDetailsXOFBank
130
128
  last_name == o.last_name &&
131
129
  iban == o.iban &&
132
130
  bank_name == o.bank_name &&
133
- bank_country == o.bank_country
131
+ bank_country == o.bank_country &&
132
+ bank_code == o.bank_code
134
133
  end
135
134
 
136
135
  # @see the `==` method
@@ -142,7 +141,7 @@ class PayoutMethodDetailsXOFBank
142
141
  # Calculates hash code according to all attributes.
143
142
  # @return [Integer] Hash code
144
143
  def hash
145
- [first_name, last_name, iban, bank_name, bank_country].hash
144
+ [first_name, last_name, iban, bank_name, bank_country, bank_code].hash
146
145
  end
147
146
 
148
147
  require 'active_support/core_ext/hash'
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
13
13
  require 'date'
14
14
 
15
15
  module TransferZero
16
- # ```JSON \"details\": { \"first_name\": \"First\", // Mandatory for personal payouts; \"last_name\": \"Last\", // Mandatory for personal payouts; \"name\" \"First Ltd\", // Mandatory for business payouts; \"contact_first_name\" \"Business\", // Mandatory for business payouts; \"contact_last_name\" \"Contact\", // Mandatory for business payouts; \"street\": \"Main Street\", \"postal_code\": \"AB0001\", \"city\": \"Cape Town\", \"email\": \"recipient@email.com\", \"bank_code\": \"334810\", \"bank_account\": \"12345678\", \"phone_number\": \"+27119785313\", \"transfer_reason_code\": \"185\", \"entity_type\": \"sole_proprietorship\", // Optional; Default value is \"person\"; Mandatory for business payouts; \"nature_of_business\": \"Mining\", // Mandatory for business payouts; \"registration_number\": \"17364BGC\" // Mandatory for business payouts; } ``` See [ZAR Bank](https://docs.transferzero.com/docs/payout-details/#zarbank) documentation for the bank_code and transfer_reason_code lists
16
+ # ```JSON \"details\": { \"first_name\": \"First\", // Mandatory for personal payouts; \"last_name\": \"Last\", // Mandatory for personal payouts; \"name\" \"First Ltd\", // Mandatory for business payouts; \"contact_first_name\" \"Business\", // Mandatory for business payouts; \"contact_last_name\" \"Contact\", // Mandatory for business payouts; \"street\": \"Main Street\", \"postal_code\": \"AB0001\", \"city\": \"Cape Town\", \"email\": \"recipient@email.com\", \"bank_name\" 'Bank Zero', // Optional \"bank_code\": \"334810\", \"bank_account\": \"12345678\", \"phone_number\": \"+27119785313\", \"transfer_reason_code\": \"185\", \"legal_entity_type\": \"sole_proprietorship\", // Optional; Default value is \"person\"; Mandatory for business payouts; \"nature_of_business\": \"mining\", // Optional for business payouts; \"registration_number\": \"17364BGC\" // Optional for business payouts; } ``` See [ZAR Bank](https://docs.transferzero.com/docs/payout-details/#zarbank) documentation for the bank_code and transfer_reason_code lists
17
17
  class PayoutMethodDetailsZARBank
18
18
  attr_accessor :first_name
19
19
 
@@ -45,7 +45,7 @@ class PayoutMethodDetailsZARBank
45
45
 
46
46
  attr_accessor :nature_of_business
47
47
 
48
- attr_accessor :entity_type
48
+ attr_accessor :legal_entity_type
49
49
 
50
50
  # Attribute mapping from ruby-style variable name to JSON key.
51
51
  def self.attribute_map
@@ -65,7 +65,7 @@ class PayoutMethodDetailsZARBank
65
65
  :'contact_last_name' => :'contact_last_name',
66
66
  :'registration_number' => :'registration_number',
67
67
  :'nature_of_business' => :'nature_of_business',
68
- :'entity_type' => :'entity_type'
68
+ :'legal_entity_type' => :'legal_entity_type'
69
69
  }
70
70
  end
71
71
 
@@ -86,8 +86,8 @@ class PayoutMethodDetailsZARBank
86
86
  :'contact_first_name' => :'String',
87
87
  :'contact_last_name' => :'String',
88
88
  :'registration_number' => :'String',
89
- :'nature_of_business' => :'String',
90
- :'entity_type' => :'PayoutMethodEntityTypeEnum'
89
+ :'nature_of_business' => :'PayoutMethodNatureOfBusinessEnum',
90
+ :'legal_entity_type' => :'PayoutMethodLegalEntityTypeEnum'
91
91
  }
92
92
  end
93
93
 
@@ -166,8 +166,8 @@ class PayoutMethodDetailsZARBank
166
166
  self.nature_of_business = attributes[:'nature_of_business']
167
167
  end
168
168
 
169
- if attributes.key?(:'entity_type')
170
- self.entity_type = attributes[:'entity_type']
169
+ if attributes.key?(:'legal_entity_type')
170
+ self.legal_entity_type = attributes[:'legal_entity_type']
171
171
  end
172
172
  end
173
173
 
@@ -244,7 +244,7 @@ class PayoutMethodDetailsZARBank
244
244
  contact_last_name == o.contact_last_name &&
245
245
  registration_number == o.registration_number &&
246
246
  nature_of_business == o.nature_of_business &&
247
- entity_type == o.entity_type
247
+ legal_entity_type == o.legal_entity_type
248
248
  end
249
249
 
250
250
  # @see the `==` method
@@ -256,7 +256,7 @@ class PayoutMethodDetailsZARBank
256
256
  # Calculates hash code according to all attributes.
257
257
  # @return [Integer] Hash code
258
258
  def hash
259
- [first_name, last_name, street, postal_code, city, email, bank_code, bank_account, phone_number, transfer_reason_code, name, contact_first_name, contact_last_name, registration_number, nature_of_business, entity_type].hash
259
+ [first_name, last_name, street, postal_code, city, email, bank_code, bank_account, phone_number, transfer_reason_code, name, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type].hash
260
260
  end
261
261
 
262
262
  require 'active_support/core_ext/hash'
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
13
13
  require 'date'
14
14
 
15
15
  module TransferZero
16
- class PayoutMethodEntityTypeEnum
16
+ class PayoutMethodLegalEntityTypeEnum
17
17
 
18
18
  PERSON = "person".freeze
19
19
  SOLE_PROPRIETORSHIP = "sole_proprietorship".freeze
@@ -28,8 +28,8 @@ class PayoutMethodEntityTypeEnum
28
28
  # @param [String] The enum value in the form of the string
29
29
  # @return [String] The enum value
30
30
  def build_from_hash(value)
31
- constantValues = PayoutMethodEntityTypeEnum.constants.select { |c| PayoutMethodEntityTypeEnum::const_get(c) == value }
32
- raise "Invalid ENUM value #{value} for class #PayoutMethodEntityTypeEnum" if constantValues.empty? && !value.empty?
31
+ constantValues = PayoutMethodLegalEntityTypeEnum.constants.select { |c| PayoutMethodLegalEntityTypeEnum::const_get(c) == value }
32
+ raise "Invalid ENUM value #{value} for class #PayoutMethodLegalEntityTypeEnum" if constantValues.empty? && !value.empty?
33
33
  value
34
34
  end
35
35
  end
@@ -21,6 +21,7 @@ class PayoutMethodMobileProviderEnum
21
21
  MTN = "mtn".freeze
22
22
  AIRTEL = "airtel".freeze
23
23
  VODAFONE = "vodafone".freeze
24
+ MPESA = "mpesa".freeze
24
25
 
25
26
  # Builds the enum from string
26
27
  # @param [String] The enum value in the form of the string
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module TransferZero
16
+ class PayoutMethodNatureOfBusinessEnum
17
+
18
+ PERSONAL = "personal".freeze
19
+ AGRICULTURE_AND_HUNTING = "agriculture_and_hunting".freeze
20
+ FORESTRY = "forestry".freeze
21
+ FISHING = "fishing".freeze
22
+ AGRICULTURAL_BY_PRODUCTS = "agricultural_by_products".freeze
23
+ COAL_MINING = "coal_mining".freeze
24
+ OIL_MINING = "oil_mining".freeze
25
+ IRON_ORE_MINING = "iron_ore_mining".freeze
26
+ OTHER_METAL_AND_DIAMOND_MINING = "other_metal_and_diamond_mining".freeze
27
+ OTHER_MINERAL_MINING = "other_mineral_mining".freeze
28
+ MANUFACTURING_OF_FOOD_DRINK_TOBACCO = "manufacturing_of_food_drink_tobacco".freeze
29
+ MANUFACTURING_OF_TEXTILES_LEATHER_FUR_FURNITURE = "manufacturing_of_textiles_leather_fur_furniture".freeze
30
+ MANUFACTURE_OF_WOODEN_PRODUCTS_FURNITURE = "manufacture_of_wooden_products_furniture".freeze
31
+ MANUFACTURE_OF_PAPER_PULP_ALLIED_PRODUCTS = "manufacture_of_paper_pulp_allied_products".freeze
32
+ MANUFACTURE_OF_CHEMICALS_MEDICAL_PETROLEUM_RUBBER_PLASTIC_PRODUCTS = "manufacture_of_chemicals_medical_petroleum_rubber_plastic_products".freeze
33
+ MANUFACTURE_OF_POTTERY_CHINA_GLASS_STONE = "manufacture_of_pottery_china_glass_stone".freeze
34
+ MANUFACTURE_OF_IRON_STEEL_NON_FERROUS_METALS_BASIC_INDUSTRIES = "manufacture_of_iron_steel_non_ferrous_metals_basic_industries".freeze
35
+ MANUFACTURE_OF_METAL_PRODUCTS_ELECTRICAL_AND_SCIENTIFIC_ENGINEERING = "manufacture_of_metal_products_electrical_and_scientific_engineering".freeze
36
+ MANUFACTURE_OF_JEWELRY_MUSICAL_INSTRUMENTS_TOYS = "manufacture_of_jewelry_musical_instruments_toys".freeze
37
+ ELECTRICITY_GAS_AND_WATER = "electricity_gas_and_water".freeze
38
+ CONSTRUCTION = "construction".freeze
39
+ WHOLESALE_TRADE = "wholesale_trade".freeze
40
+ RETAIL_TRADE = "retail_trade".freeze
41
+ CATERING_INCL_HOTELS = "catering_incl_hotels".freeze
42
+ TRANSPORT_STORAGE = "transport_storage".freeze
43
+ COMMUNICATIONS = "communications".freeze
44
+ FINANCE_AND_HOLDING_COMPANIES = "finance_and_holding_companies".freeze
45
+ INSURANCE = "insurance".freeze
46
+ BUSINESS_SERVICES = "business_services".freeze
47
+ REAL_ESTATE_DEVELOPMENT_INVESTMENT = "real_estate_development_investment".freeze
48
+ CENTRAL_STATE_GOVERNMENTS = "central_state_governments".freeze
49
+ COMMUNITY_SERVICES_DEFENCE_POLICE_PRISONS_ETC = "community_services_defence_police_prisons_etc".freeze
50
+ SOCIAL_SERVICES_EDUCATION_HEALTH_CARE = "social_services_education_health_care".freeze
51
+ PERSONAL_SERVICES_LEISURE_SERVICES = "personal_services_leisure_services".freeze
52
+ PERSONAL_SERVICES_DOMESTIC_LAUNDRY_REPAIRS = "personal_services_domestic_laundry_repairs".freeze
53
+ PERSONAL_SERVICES_EMBASSIES_INTERNATIONAL_ORGANISATIONS = "personal_services_embassies_international_organisations".freeze
54
+
55
+ # Builds the enum from string
56
+ # @param [String] The enum value in the form of the string
57
+ # @return [String] The enum value
58
+ def build_from_hash(value)
59
+ constantValues = PayoutMethodNatureOfBusinessEnum.constants.select { |c| PayoutMethodNatureOfBusinessEnum::const_get(c) == value }
60
+ raise "Invalid ENUM value #{value} for class #PayoutMethodNatureOfBusinessEnum" if constantValues.empty? && !value.empty?
61
+ value
62
+ end
63
+ end
64
+
65
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.14.0'
14
+ VERSION = '1.15.1'
15
15
  end
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodCountryEnumUSDBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodCountryEnumUSDBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodCountryEnumUSDBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodCountryEnumUSDBank' do
31
+ it 'should create an instance of PayoutMethodCountryEnumUSDBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodCountryEnumUSDBank)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,101 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodDetailsKESBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsKESBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsKESBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsKESBank' do
31
+ it 'should create an instance of PayoutMethodDetailsKESBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsKESBank)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "last_name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "bank_code"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "street"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "bank_account"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "bank_name"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "branch_code"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "swift_code"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "transfer_reason_code"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "identity_card_type"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "identity_card_id"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ end
@@ -0,0 +1,83 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodDetailsKESMobile
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsKESMobile' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsKESMobile.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsKESMobile' do
31
+ it 'should create an instance of PayoutMethodDetailsKESMobile' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsKESMobile)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "last_name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "street"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "phone_number"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "mobile_provider"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "transfer_reason_code"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "identity_card_type"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "identity_card_id"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ end