solifyn 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/Brand.md +2 -2
  4. data/docs/CheckoutLinkResponseDto.md +3 -3
  5. data/docs/CollectionDetailResponseDto.md +3 -3
  6. data/docs/CollectionProductDto.md +3 -3
  7. data/docs/CollectionResponseDto.md +3 -3
  8. data/docs/CustomerResponseDto.md +2 -2
  9. data/docs/CustomerSharedInviteResponseDto.md +1 -1
  10. data/docs/Dispute.md +3 -3
  11. data/docs/EntitlementGrantResponseDto.md +5 -5
  12. data/docs/Invoice.md +1 -1
  13. data/docs/MeterDetailResponseDto.md +3 -3
  14. data/docs/MeterResponseDto.md +2 -2
  15. data/docs/MeterUsageEventDto.md +2 -2
  16. data/docs/Order.md +2 -2
  17. data/docs/OrderRefund.md +1 -1
  18. data/docs/Product.md +5 -5
  19. data/docs/ProductCreate.md +1 -1
  20. data/docs/ProductUpdate.md +2 -2
  21. data/docs/Refund.md +5 -5
  22. data/docs/Subscription.md +3 -3
  23. data/docs/UpdateCustomerDto.md +1 -1
  24. data/docs/WebhookEntitlementGrantPayload.md +5 -5
  25. data/lib/solifyn/models/addon.rb +2 -10
  26. data/lib/solifyn/models/brand.rb +6 -0
  27. data/lib/solifyn/models/brand_create.rb +6 -5
  28. data/lib/solifyn/models/brand_update.rb +6 -5
  29. data/lib/solifyn/models/checkout_link_response_dto.rb +12 -0
  30. data/lib/solifyn/models/checkout_session_details_dto.rb +1 -0
  31. data/lib/solifyn/models/collection_detail_response_dto.rb +2 -0
  32. data/lib/solifyn/models/collection_product_dto.rb +17 -80
  33. data/lib/solifyn/models/collection_response_dto.rb +2 -0
  34. data/lib/solifyn/models/customer_response_dto.rb +6 -0
  35. data/lib/solifyn/models/discount.rb +2 -10
  36. data/lib/solifyn/models/discount_create.rb +3 -0
  37. data/lib/solifyn/models/discount_update.rb +3 -0
  38. data/lib/solifyn/models/dispute.rb +10 -0
  39. data/lib/solifyn/models/dispute_evidence_dto.rb +4 -0
  40. data/lib/solifyn/models/instance.rb +4 -20
  41. data/lib/solifyn/models/license.rb +8 -40
  42. data/lib/solifyn/models/license_sub_dto.rb +3 -15
  43. data/lib/solifyn/models/meter_detail_response_dto.rb +4 -0
  44. data/lib/solifyn/models/meter_response_dto.rb +4 -0
  45. data/lib/solifyn/models/meter_usage_event_dto.rb +1 -0
  46. data/lib/solifyn/models/product.rb +17 -80
  47. data/lib/solifyn/models/product_create.rb +2 -2
  48. data/lib/solifyn/models/product_sub_dto.rb +1 -5
  49. data/lib/solifyn/models/product_update.rb +2 -0
  50. data/lib/solifyn/models/refund.rb +5 -0
  51. data/lib/solifyn/models/resolved_addon.rb +1 -5
  52. data/lib/solifyn/models/subscription.rb +10 -35
  53. data/lib/solifyn/models/subscription_detail.rb +1 -5
  54. data/lib/solifyn/models/webhook_dispute_payload.rb +5 -0
  55. data/lib/solifyn/models/webhook_entitlement_grant_payload.rb +6 -0
  56. data/lib/solifyn/models/webhook_license_payload.rb +8 -40
  57. data/lib/solifyn/models/webhook_payment_payload.rb +40 -0
  58. data/lib/solifyn/models/webhook_refund_payload.rb +4 -0
  59. data/lib/solifyn/models/webhook_subscription_payload.rb +9 -0
  60. data/lib/solifyn/version.rb +1 -1
  61. metadata +160 -160
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f26c69ce78d83a4cd0dde9845ec79eda17c43a2e46bb36df08e2c4d6adb44444
4
- data.tar.gz: 6a456ff96cafac9df59839b6cc9673e52b0ce02c0158b31d28f6f3eb3a000742
3
+ metadata.gz: 9f8a3cad7edd185da89c1d4a824dfe4215ecc1d9566885686f86547d07adcdb7
4
+ data.tar.gz: fd03a98bb4b7b9105f584fca5b8166ea50eb4f73364d67872abd5eb6221d7c6f
5
5
  SHA512:
6
- metadata.gz: ecfaf1594963611e273786f54f4debcad21d445ea4d197b44a9bdafe532195e5fa0fff87ebbcfa5a46d8672d909c7432515ad4ef08c1a5af331a33b9e4c6c5e7
7
- data.tar.gz: 9c0091890121f2c586ace4e1e89c5900cb62ddab92d60cfa7d2e64047f41206ff5f985e70e9e94706c1585d722de952d5e832fd54cd35a360b22ea05bab9e203
6
+ metadata.gz: '08950201c248e464de1e7902533c1e7808249171b55fe26f9871bdb726a1acd371574972cbf89bc9fa6758902bea780ce6bf2b7b5415c4dbec63cb4c8f780ce7'
7
+ data.tar.gz: 33c22224334e650ba1fc5a4ed7dd43ee257ce70a92bc7d6b556cf532ad19ff61c2f2c40c3716cd994cbbe0696761aeb1061b990a48a66205247b02bc54ece925
data/README.md CHANGED
@@ -7,7 +7,7 @@ Welcome to the Solifyn API Reference. Leverage our secure endpoints to manage pr
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 1.1.1
10
+ - Package version: 1.1.2
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
 
@@ -24,16 +24,16 @@ gem build solifyn.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./solifyn-1.1.1.gem
27
+ gem install ./solifyn-1.1.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./solifyn-1.1.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./solifyn-1.1.2.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'solifyn', '~> 1.1.1'
36
+ gem 'solifyn', '~> 1.1.2'
37
37
 
38
38
  ### Install from Git
39
39
 
data/docs/Brand.md CHANGED
@@ -33,8 +33,8 @@ instance = Solifyn::Brand.new(
33
33
  statement_descriptor: ACME CORP INC,
34
34
  merchant_id: mer_123,
35
35
  business_id: biz_123,
36
- created_at: 2025-01-01T12:00:00Z,
37
- updated_at: 2025-01-01T12:00:00Z
36
+ created_at: 2025-01-01T12:00Z,
37
+ updated_at: 2025-01-01T12:00Z
38
38
  )
39
39
  ```
40
40
 
@@ -28,7 +28,7 @@
28
28
  require 'solifyn'
29
29
 
30
30
  instance = Solifyn::CheckoutLinkResponseDto.new(
31
- id: chk_123,
31
+ id: null,
32
32
  title: Winter Bundle Checkout,
33
33
  product_id: prod_123,
34
34
  collection_id: col_123,
@@ -43,8 +43,8 @@ instance = Solifyn::CheckoutLinkResponseDto.new(
43
43
  redirect_url: https://example.com/success,
44
44
  cancel_url: https://example.com/cancel,
45
45
  show_discounts: true,
46
- created_at: 2025-01-01T12:00:00Z,
47
- updated_at: 2025-01-01T12:00:00Z
46
+ created_at: 2025-01-01T12:00Z,
47
+ updated_at: 2025-01-01T12:00Z
48
48
  )
49
49
  ```
50
50
 
@@ -21,15 +21,15 @@
21
21
  require 'solifyn'
22
22
 
23
23
  instance = Solifyn::CollectionDetailResponseDto.new(
24
- id: col_123,
24
+ id: null,
25
25
  name: Summer Bundle,
26
26
  description: Everything you need for summer.,
27
27
  image_url: https://example.com/image.png,
28
28
  status: ACTIVE,
29
29
  business_id: biz_4r5t6y7u8i9o,
30
30
  is_permanently_deleted: false,
31
- created_at: 2025-01-01T12:00:00Z,
32
- updated_at: 2025-01-01T12:00:00Z,
31
+ created_at: 2025-01-01T12:00Z,
32
+ updated_at: 2025-01-01T12:00Z,
33
33
  products: null
34
34
  )
35
35
  ```
@@ -48,7 +48,7 @@
48
48
  require 'solifyn'
49
49
 
50
50
  instance = Solifyn::CollectionProductDto.new(
51
- id: prod_9z8x7c6v5b4n,
51
+ id: null,
52
52
  name: Enterprise SaaS Plan,
53
53
  price: 99,
54
54
  currency: USD,
@@ -75,8 +75,8 @@ instance = Solifyn::CollectionProductDto.new(
75
75
  activation_limit: 5,
76
76
  is_listed: true,
77
77
  is_free: false,
78
- created_at: 2026-05-18T12:00:00.000Z,
79
- updated_at: 2026-05-18T12:00:00.000Z,
78
+ created_at: 2026-05-18T12:00Z,
79
+ updated_at: 2026-05-18T12:00Z,
80
80
  is_permanently_deleted: false,
81
81
  brand_id: brd_4e29285b8sdf34ff51e07d4,
82
82
  digital_link: null,
@@ -21,15 +21,15 @@
21
21
  require 'solifyn'
22
22
 
23
23
  instance = Solifyn::CollectionResponseDto.new(
24
- id: col_123,
24
+ id: null,
25
25
  name: Summer Bundle,
26
26
  description: Everything you need for summer.,
27
27
  image_url: https://example.com/image.png,
28
28
  status: ACTIVE,
29
29
  business_id: biz_4r5t6y7u8i9o,
30
30
  is_permanently_deleted: false,
31
- created_at: 2025-01-01T12:00:00Z,
32
- updated_at: 2025-01-01T12:00:00Z,
31
+ created_at: 2025-01-01T12:00Z,
32
+ updated_at: 2025-01-01T12:00Z,
33
33
  products: null
34
34
  )
35
35
  ```
@@ -30,8 +30,8 @@ instance = Solifyn::CustomerResponseDto.new(
30
30
  phone: +1234567890,
31
31
  phone_number: +1234567890,
32
32
  metadata: {"key":"value"},
33
- created_at: 2025-01-01T12:00:00Z,
34
- updated_at: 2025-01-01T12:00:00Z,
33
+ created_at: 2025-01-01T12:00Z,
34
+ updated_at: 2025-01-01T12:00Z,
35
35
  business_id: 537825c3-14d6-4173-b072-33f921416efc
36
36
  )
37
37
  ```
@@ -15,7 +15,7 @@ require 'solifyn'
15
15
 
16
16
  instance = Solifyn::CustomerSharedInviteResponseDto.new(
17
17
  token: 2jb5bp8bq0jfucv7rtt9a8,
18
- expires_at: 2025-01-02T12:00:00Z,
18
+ expires_at: 2025-01-02T12:00Z,
19
19
  url: http://localhost:3000/shared/2jb5bp8bq0jfucv7rtt9a8
20
20
  )
21
21
  ```
data/docs/Dispute.md CHANGED
@@ -39,7 +39,7 @@ instance = Solifyn::Dispute.new(
39
39
  status: warning_needs_response,
40
40
  reason: Product not received,
41
41
  editable: true,
42
- needs_response_by: 2025-01-01T12:00:00Z,
42
+ needs_response_by: 2025-01-01T12:00Z,
43
43
  visa_rdr: false,
44
44
  billing_address: 123 Main St, New York, NY,
45
45
  customer_name: John Doe,
@@ -51,8 +51,8 @@ instance = Solifyn::Dispute.new(
51
51
  evidence: null,
52
52
  payment_id: pay_123,
53
53
  business_id: biz_123,
54
- created_at: 2025-01-01T12:00:00Z,
55
- updated_at: 2025-01-01T12:00:00Z
54
+ created_at: 2025-01-01T12:00Z,
55
+ updated_at: 2025-01-01T12:00Z
56
56
  )
57
57
  ```
58
58
 
@@ -26,11 +26,11 @@
26
26
  require 'solifyn'
27
27
 
28
28
  instance = Solifyn::EntitlementGrantResponseDto.new(
29
- id: grant_123456,
30
- business_id: biz_123456,
31
- customer_id: cust_123456,
32
- payment_id: pay_123456,
33
- product_id: prod_123456,
29
+ id: null,
30
+ business_id: null,
31
+ customer_id: null,
32
+ payment_id: null,
33
+ product_id: null,
34
34
  type: GITHUB,
35
35
  github_repo: solifyn/premium-app,
36
36
  github_permission: pull,
data/docs/Invoice.md CHANGED
@@ -20,7 +20,7 @@ instance = Solifyn::Invoice.new(
20
20
  order_id: pay_123,
21
21
  url: https://api.solifyn.com/v1/orders/pay_123/invoice/pdf,
22
22
  status: paid,
23
- created_at: 2026-05-22T08:00:00Z
23
+ created_at: 2026-05-22T08:00Z
24
24
  )
25
25
  ```
26
26
 
@@ -33,10 +33,10 @@ instance = Solifyn::MeterDetailResponseDto.new(
33
33
  aggregation_type: COUNT,
34
34
  aggregation_key: tokens,
35
35
  unit: requests,
36
- filters: {event_type=premium, region=asia},
36
+ filters: {"event_type":"premium","region":"asia"},
37
37
  archived: false,
38
- created_at: 2026-05-23T10:00:00.000Z,
39
- updated_at: 2026-05-23T10:00:00.000Z,
38
+ created_at: 2026-05-23T10:00Z,
39
+ updated_at: 2026-05-23T10:00Z,
40
40
  usage_events: null,
41
41
  total_usage_events: 1284
42
42
  )
@@ -33,8 +33,8 @@ instance = Solifyn::MeterResponseDto.new(
33
33
  unit: requests,
34
34
  filters: {"event_type":"premium","region":"asia"},
35
35
  archived: false,
36
- created_at: 2026-05-23T10:00:00.000Z,
37
- updated_at: 2026-05-23T10:00:00.000Z
36
+ created_at: 2026-05-23T10:00Z,
37
+ updated_at: 2026-05-23T10:00Z
38
38
  )
39
39
  ```
40
40
 
@@ -23,8 +23,8 @@ instance = Solifyn::MeterUsageEventDto.new(
23
23
  customer_id: cus_8n7m6l5k4j3h2g1f0e9d8c,
24
24
  value: 1,
25
25
  metadata: {"plan":"enterprise","region":"asia-southeast-1"},
26
- timestamp: 2026-05-23T10:00:00.000Z,
27
- processed_at: 2026-05-23T10:00:01.000Z
26
+ timestamp: 2026-05-23T10:00Z,
27
+ processed_at: 2026-05-23T10:00:01Z
28
28
  )
29
29
  ```
30
30
 
data/docs/Order.md CHANGED
@@ -48,8 +48,8 @@ instance = Solifyn::Order.new(
48
48
  amount_after_fees: 2750,
49
49
  currency: usd,
50
50
  status: paid,
51
- created_at: 2026-05-22T08:00:00Z,
52
- paid_at: 2026-05-22T08:05:00Z,
51
+ created_at: 2026-05-22T08:00Z,
52
+ paid_at: 2026-05-22T08:05Z,
53
53
  payment_method: card,
54
54
  card_last_four: 4242,
55
55
  card_network: visa,
data/docs/OrderRefund.md CHANGED
@@ -26,7 +26,7 @@ instance = Solifyn::OrderRefund.new(
26
26
  status: succeeded,
27
27
  reason: requested_by_customer,
28
28
  is_partial: true,
29
- created_at: 2026-05-22T08:00:00Z
29
+ created_at: 2026-05-22T08:00Z
30
30
  )
31
31
  ```
32
32
 
data/docs/Product.md CHANGED
@@ -47,7 +47,7 @@
47
47
  require 'solifyn'
48
48
 
49
49
  instance = Solifyn::Product.new(
50
- id: prod_9z8x7c6v5b4n,
50
+ id: null,
51
51
  name: Enterprise SaaS Plan,
52
52
  price: 99,
53
53
  currency: USD,
@@ -68,14 +68,14 @@ instance = Solifyn::Product.new(
68
68
  expiration_days: null,
69
69
  statement_descriptor: SOLIFYN*SAAS,
70
70
  pay_what_you_want: false,
71
- metadata: {tier=enterprise, department=engineering},
72
- custom_fields: [{id=57aa2241-eae4-43dc-b9ae-36069b84b2da, name=Discord Username, order=0, required=true, field_type=text, placeholder=e.g. your_discord#1234}, {id=c86da32a-a967-457c-815b-c3440294d70b, name=Company Name, order=1, required=false, field_type=text, placeholder=e.g. Acme Corp (Optional)}],
71
+ metadata: {"tier":"enterprise","department":"engineering"},
72
+ custom_fields: [{"id":"57aa2241-eae4-43dc-b9ae-36069b84b2da","name":"Discord Username","order":0,"required":true,"field_type":"text","placeholder":"e.g. your_discord#1234"},{"id":"c86da32a-a967-457c-815b-c3440294d70b","name":"Company Name","order":1,"required":false,"field_type":"text","placeholder":"e.g. Acme Corp (Optional)"}],
73
73
  stock: null,
74
74
  activation_limit: 5,
75
75
  is_listed: true,
76
76
  is_free: false,
77
- created_at: 2026-05-18T12:00:00.000Z,
78
- updated_at: 2026-05-18T12:00:00.000Z,
77
+ created_at: 2026-05-18T12:00Z,
78
+ updated_at: 2026-05-18T12:00Z,
79
79
  is_permanently_deleted: false,
80
80
  brand_id: brd_4e29285b8sdf34ff51e07d4,
81
81
  digital_link: null,
@@ -17,7 +17,7 @@
17
17
  | **github_repo** | **String** | GitHub repository to grant access to (format: owner/repo). | [optional] |
18
18
  | **github_permission** | **String** | GitHub collaborator permission level. | [optional] |
19
19
  | **is_tax_inclusive** | **Boolean** | Whether tax is included in the base price. | [optional][default to false] |
20
- | **activation_limit** | **Integer** | Maximum concurrent activated instances allowed per license key. | [optional][default to null] |
20
+ | **activation_limit** | **Integer** | Maximum concurrent activated instances allowed per license key. | [optional] |
21
21
  | **brand_id** | **String** | Brand id for the product, if not provided will default to primary brand. | [optional] |
22
22
  | **billing_period** | **Integer** | Billing period in days (for Subscription products). | [optional] |
23
23
  | **trial_period_days** | **Integer** | Trial duration in days. | [optional] |
@@ -57,8 +57,8 @@ instance = Solifyn::ProductUpdate.new(
57
57
  expiration_days: null,
58
58
  statement_descriptor: SOLIFYN*SAAS,
59
59
  pay_what_you_want: false,
60
- metadata: {internal_id=12345, campaign=summer_sale},
61
- custom_fields: [{id=57aa2241-eae4-43dc-b9ae-36069b84b2da, name=Discord Username, order=0, required=true, field_type=text, placeholder=e.g. your_discord#1234}, {id=c86da32a-a967-457c-815b-c3440294d70b, name=Company Name, order=1, required=false, field_type=text, placeholder=e.g. Acme Corp (Optional)}],
60
+ metadata: {"internal_id":"12345","campaign":"summer_sale"},
61
+ custom_fields: [{"id":"57aa2241-eae4-43dc-b9ae-36069b84b2da","name":"Discord Username","order":0,"required":true,"field_type":"text","placeholder":"e.g. your_discord#1234"},{"id":"c86da32a-a967-457c-815b-c3440294d70b","name":"Company Name","order":1,"required":false,"field_type":"text","placeholder":"e.g. Acme Corp (Optional)"}],
62
62
  stock: 100,
63
63
  is_listed: true,
64
64
  is_free: false,
data/docs/Refund.md CHANGED
@@ -24,7 +24,7 @@
24
24
  require 'solifyn'
25
25
 
26
26
  instance = Solifyn::Refund.new(
27
- id: ref_123,
27
+ id: null,
28
28
  whop_id: rf_xyz123,
29
29
  idempotency_key: idemp_abc123,
30
30
  amount: 10.5,
@@ -33,10 +33,10 @@ instance = Solifyn::Refund.new(
33
33
  provider: stripe,
34
34
  reason: requested_by_customer,
35
35
  reference_value: ARN123456789,
36
- payment_id: pay_123,
37
- provider_created_at: 2025-01-01T12:00:00Z,
38
- created_at: 2025-01-01T12:00:00Z,
39
- updated_at: 2025-01-01T12:00:00Z
36
+ payment_id: null,
37
+ provider_created_at: 2025-01-01T12:00Z,
38
+ created_at: 2025-01-01T12:00Z,
39
+ updated_at: 2025-01-01T12:00Z
40
40
  )
41
41
  ```
42
42
 
data/docs/Subscription.md CHANGED
@@ -39,9 +39,9 @@ require 'solifyn'
39
39
  instance = Solifyn::Subscription.new(
40
40
  id: mem_123,
41
41
  status: active,
42
- created_at: 2025-01-01T12:00:00.000Z,
43
- joined_at: 2025-01-01T12:00:00.000Z,
44
- updated_at: 2025-01-01T12:00:00.000Z,
42
+ created_at: 2025-01-01T12:00Z,
43
+ joined_at: 2025-01-01T12:00Z,
44
+ updated_at: 2025-01-01T12:00Z,
45
45
  manage_url: https://example.com/billing/manage/mber_123,
46
46
  member: null,
47
47
  user: null,
@@ -18,7 +18,7 @@ instance = Solifyn::UpdateCustomerDto.new(
18
18
  name: John Doe,
19
19
  phone: +1234567890,
20
20
  username: johndoe,
21
- metadata: {customKey=customValue}
21
+ metadata: {"customKey":"customValue"}
22
22
  )
23
23
  ```
24
24
 
@@ -25,11 +25,11 @@
25
25
  require 'solifyn'
26
26
 
27
27
  instance = Solifyn::WebhookEntitlementGrantPayload.new(
28
- id: grant_123456,
29
- business_id: biz_123456,
30
- customer_id: cust_123456,
31
- payment_id: pay_123456,
32
- product_id: prod_123456,
28
+ id: null,
29
+ business_id: null,
30
+ customer_id: null,
31
+ payment_id: null,
32
+ product_id: null,
33
33
  type: GITHUB,
34
34
  github_repo: solifyn/premium-app,
35
35
  github_permission: pull,
@@ -60,6 +60,8 @@ module Solifyn
60
60
  # List of attributes with nullable: true
61
61
  def self.openapi_nullable
62
62
  Set.new([
63
+ :'max_quantity',
64
+ :'price_override',
63
65
  ])
64
66
  end
65
67
 
@@ -122,14 +124,6 @@ module Solifyn
122
124
  invalid_properties.push('invalid value for "min_quantity", min_quantity cannot be nil.')
123
125
  end
124
126
 
125
- if @max_quantity.nil?
126
- invalid_properties.push('invalid value for "max_quantity", max_quantity cannot be nil.')
127
- end
128
-
129
- if @price_override.nil?
130
- invalid_properties.push('invalid value for "price_override", price_override cannot be nil.')
131
- end
132
-
133
127
  if @is_seat_addon.nil?
134
128
  invalid_properties.push('invalid value for "is_seat_addon", is_seat_addon cannot be nil.')
135
129
  end
@@ -143,8 +137,6 @@ module Solifyn
143
137
  warn '[DEPRECATED] the `valid?` method is obsolete'
144
138
  return false if @product_id.nil?
145
139
  return false if @min_quantity.nil?
146
- return false if @max_quantity.nil?
147
- return false if @price_override.nil?
148
140
  return false if @is_seat_addon.nil?
149
141
  true
150
142
  end
@@ -95,6 +95,12 @@ module Solifyn
95
95
  # List of attributes with nullable: true
96
96
  def self.openapi_nullable
97
97
  Set.new([
98
+ :'website_url',
99
+ :'support_email',
100
+ :'description',
101
+ :'logo_url',
102
+ :'statement_descriptor',
103
+ :'business_id',
98
104
  ])
99
105
  end
100
106
 
@@ -65,6 +65,11 @@ module Solifyn
65
65
  # List of attributes with nullable: true
66
66
  def self.openapi_nullable
67
67
  Set.new([
68
+ :'website_url',
69
+ :'support_email',
70
+ :'description',
71
+ :'logo_url',
72
+ :'statement_descriptor'
68
73
  ])
69
74
  end
70
75
 
@@ -157,11 +162,7 @@ module Solifyn
157
162
  # Custom attribute writer method with validation
158
163
  # @param [Object] statement_descriptor Value to be assigned
159
164
  def statement_descriptor=(statement_descriptor)
160
- if statement_descriptor.nil?
161
- fail ArgumentError, 'statement_descriptor cannot be nil'
162
- end
163
-
164
- if statement_descriptor.to_s.length > 22
165
+ if !statement_descriptor.nil? && statement_descriptor.to_s.length > 22
165
166
  fail ArgumentError, 'invalid value for "statement_descriptor", the character length must be smaller than or equal to 22.'
166
167
  end
167
168
 
@@ -65,6 +65,11 @@ module Solifyn
65
65
  # List of attributes with nullable: true
66
66
  def self.openapi_nullable
67
67
  Set.new([
68
+ :'website_url',
69
+ :'support_email',
70
+ :'description',
71
+ :'logo_url',
72
+ :'statement_descriptor'
68
73
  ])
69
74
  end
70
75
 
@@ -150,11 +155,7 @@ module Solifyn
150
155
  # Custom attribute writer method with validation
151
156
  # @param [Object] statement_descriptor Value to be assigned
152
157
  def statement_descriptor=(statement_descriptor)
153
- if statement_descriptor.nil?
154
- fail ArgumentError, 'statement_descriptor cannot be nil'
155
- end
156
-
157
- if statement_descriptor.to_s.length > 22
158
+ if !statement_descriptor.nil? && statement_descriptor.to_s.length > 22
158
159
  fail ArgumentError, 'invalid value for "statement_descriptor", the character length must be smaller than or equal to 22.'
159
160
  end
160
161
 
@@ -120,6 +120,18 @@ module Solifyn
120
120
  # List of attributes with nullable: true
121
121
  def self.openapi_nullable
122
122
  Set.new([
123
+ :'title',
124
+ :'product_id',
125
+ :'collection_id',
126
+ :'customer_name',
127
+ :'customer_email',
128
+ :'address_line1',
129
+ :'city',
130
+ :'state',
131
+ :'postal_code',
132
+ :'country',
133
+ :'redirect_url',
134
+ :'cancel_url',
123
135
  ])
124
136
  end
125
137
 
@@ -95,6 +95,7 @@ module Solifyn
95
95
  # List of attributes with nullable: true
96
96
  def self.openapi_nullable
97
97
  Set.new([
98
+ :'product',
98
99
  ])
99
100
  end
100
101
 
@@ -107,6 +107,8 @@ module Solifyn
107
107
  # List of attributes with nullable: true
108
108
  def self.openapi_nullable
109
109
  Set.new([
110
+ :'description',
111
+ :'image_url',
110
112
  ])
111
113
  end
112
114