orb-billing 1.7.0 → 1.9.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2d0c4a4d09df50af007b4fdb30bab19a35a3841ab39a9c91417b23c5a1c2dd3
4
- data.tar.gz: ad68ccefacec87801c1614a0886c49bec12c12614112d57dcd201c12b286968c
3
+ metadata.gz: 73447aae66a57454d85c9920c95279d8b14491f0f7db3cdf662d4a0937912bd5
4
+ data.tar.gz: 559307bb284616b1d980e54218738631c8f27a97c79945eb45ca7dc6a9ae582a
5
5
  SHA512:
6
- metadata.gz: 5a45c2386ef7dbe71fe6f15792e7471cb57aae04c6cfd2d6399b63f10ea54386f36cc750a6691a88e982199a911debc748ebaf7abcc129d8e28d28a5fc6085b3
7
- data.tar.gz: 41d387c383177267bd4806fe341df92d69d2a07de4815e07c221fe4fcefde6395f45053249eb9d75eed95bea8e6d14ec953da1ee47c80c5c02b7d1c0aea09f6d
6
+ metadata.gz: d93187e3f51a0f915021b59c13d11a9dee6892c72a2d95aba9233e6470d1e87a1713efeb967a9db811dba1a9dd0e1a27c0dc3b55c244de234d72a563c9d12b6c
7
+ data.tar.gz: bb9327c4f6139f1e2329702c55a6102764ca5a61d726b726599cdebb276598cd4876dd5e0683d352ea28eeacb43ab436ee13ee9da23722b856e1aaceefdb1c1b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.0 (2025-07-21)
4
+
5
+ Full Changelog: [v1.8.0...v1.9.0](https://github.com/orbcorp/orb-ruby/compare/v1.8.0...v1.9.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([a6e890c](https://github.com/orbcorp/orb-ruby/commit/a6e890c40ec02098aac56daf3793545df289f914))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** version bump ([4e5e51e](https://github.com/orbcorp/orb-ruby/commit/4e5e51e6255e54012d7aaab536a2d1cf239b30a2))
15
+
16
+ ## 1.8.0 (2025-07-17)
17
+
18
+ Full Changelog: [v1.7.0...v1.8.0](https://github.com/orbcorp/orb-ruby/compare/v1.7.0...v1.8.0)
19
+
20
+ ### Features
21
+
22
+ * **api:** api update ([bb9bd7c](https://github.com/orbcorp/orb-ruby/commit/bb9bd7c820a76f1f502400f8ba9fed9518cc0010))
23
+
24
+
25
+ ### Chores
26
+
27
+ * **internal:** version bump ([a255b91](https://github.com/orbcorp/orb-ruby/commit/a255b917bb484b1756398dd60d129db7d4012327))
28
+
3
29
  ## 1.7.0 (2025-07-16)
4
30
 
5
31
  Full Changelog: [v1.6.0...v1.7.0](https://github.com/orbcorp/orb-ruby/compare/v1.6.0...v1.7.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "orb-billing", "~> 1.7.0"
18
+ gem "orb-billing", "~> 1.9.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -9,7 +9,7 @@ module Orb
9
9
  include Orb::Internal::Type::RequestParameters
10
10
 
11
11
  # @!attribute currency
12
- # The currency or custom pricing unit to use.
12
+ # The currency to use.
13
13
  #
14
14
  # @return [String, nil]
15
15
  optional :currency, String, nil?: true
@@ -39,7 +39,7 @@ module Orb
39
39
  # Some parameter documentations has been truncated, see
40
40
  # {Orb::Models::Customers::CostListByExternalIDParams} for more details.
41
41
  #
42
- # @param currency [String, nil] The currency or custom pricing unit to use.
42
+ # @param currency [String, nil] The currency to use.
43
43
  #
44
44
  # @param timeframe_end [Time, nil] Costs returned are exclusive of `timeframe_end`.
45
45
  #
@@ -9,7 +9,7 @@ module Orb
9
9
  include Orb::Internal::Type::RequestParameters
10
10
 
11
11
  # @!attribute currency
12
- # The currency or custom pricing unit to use.
12
+ # The currency to use.
13
13
  #
14
14
  # @return [String, nil]
15
15
  optional :currency, String, nil?: true
@@ -39,7 +39,7 @@ module Orb
39
39
  # Some parameter documentations has been truncated, see
40
40
  # {Orb::Models::Customers::CostListParams} for more details.
41
41
  #
42
- # @param currency [String, nil] The currency or custom pricing unit to use.
42
+ # @param currency [String, nil] The currency to use.
43
43
  #
44
44
  # @param timeframe_end [Time, nil] Costs returned are exclusive of `timeframe_end`.
45
45
  #
@@ -26,15 +26,6 @@ module Orb
26
26
  # @return [Array<Orb::Models::InvoiceCreateParams::LineItem>]
27
27
  required :line_items, -> { Orb::Internal::Type::ArrayOf[Orb::InvoiceCreateParams::LineItem] }
28
28
 
29
- # @!attribute net_terms
30
- # Determines the difference between the invoice issue date for subscription
31
- # invoices as the date that they are due. A value of '0' here represents that the
32
- # invoice is due on issue, whereas a value of 30 represents that the customer has
33
- # 30 days to pay the invoice.
34
- #
35
- # @return [Integer]
36
- required :net_terms, Integer
37
-
38
29
  # @!attribute customer_id
39
30
  # The id of the `Customer` to create this invoice for. One of `customer_id` and
40
31
  # `external_customer_id` are required.
@@ -69,6 +60,15 @@ module Orb
69
60
  # @return [Hash{Symbol=>String, nil}, nil]
70
61
  optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
71
62
 
63
+ # @!attribute net_terms
64
+ # Determines the difference between the invoice issue date for subscription
65
+ # invoices as the date that they are due. A value of '0' here represents that the
66
+ # invoice is due on issue, whereas a value of 30 represents that the customer has
67
+ # 30 days to pay the invoice.
68
+ #
69
+ # @return [Integer, nil]
70
+ optional :net_terms, Integer, nil?: true
71
+
72
72
  # @!attribute will_auto_issue
73
73
  # When true, this invoice will be submitted for issuance upon creation. When
74
74
  # false, the resulting invoice will require manual review to issue. Defaulted to
@@ -77,7 +77,7 @@ module Orb
77
77
  # @return [Boolean, nil]
78
78
  optional :will_auto_issue, Orb::Internal::Type::Boolean
79
79
 
80
- # @!method initialize(currency:, invoice_date:, line_items:, net_terms:, customer_id: nil, discount: nil, external_customer_id: nil, memo: nil, metadata: nil, will_auto_issue: nil, request_options: {})
80
+ # @!method initialize(currency:, invoice_date:, line_items:, customer_id: nil, discount: nil, external_customer_id: nil, memo: nil, metadata: nil, net_terms: nil, will_auto_issue: nil, request_options: {})
81
81
  # Some parameter documentations has been truncated, see
82
82
  # {Orb::Models::InvoiceCreateParams} for more details.
83
83
  #
@@ -87,8 +87,6 @@ module Orb
87
87
  #
88
88
  # @param line_items [Array<Orb::Models::InvoiceCreateParams::LineItem>]
89
89
  #
90
- # @param net_terms [Integer] Determines the difference between the invoice issue date for subscription invoic
91
- #
92
90
  # @param customer_id [String, nil] The id of the `Customer` to create this invoice for. One of `customer_id` and `e
93
91
  #
94
92
  # @param discount [Orb::Models::PercentageDiscount, Orb::Models::TrialDiscount, Orb::Models::UsageDiscount, Orb::Models::AmountDiscount, nil] An optional discount to attach to the invoice.
@@ -99,6 +97,8 @@ module Orb
99
97
  #
100
98
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
101
99
  #
100
+ # @param net_terms [Integer, nil] Determines the difference between the invoice issue date for subscription invoic
101
+ #
102
102
  # @param will_auto_issue [Boolean] When true, this invoice will be submitted for issuance upon creation. When false
103
103
  #
104
104
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}]
@@ -8,7 +8,7 @@ module Orb
8
8
  include Orb::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute currency
11
- # The currency or custom pricing unit to use.
11
+ # The currency to use.
12
12
  #
13
13
  # @return [String, nil]
14
14
  optional :currency, String, nil?: true
@@ -38,7 +38,7 @@ module Orb
38
38
  # Some parameter documentations has been truncated, see
39
39
  # {Orb::Models::SubscriptionFetchCostsParams} for more details.
40
40
  #
41
- # @param currency [String, nil] The currency or custom pricing unit to use.
41
+ # @param currency [String, nil] The currency to use.
42
42
  #
43
43
  # @param timeframe_end [Time, nil] Costs returned are exclusive of `timeframe_end`.
44
44
  #
@@ -129,7 +129,7 @@ module Orb
129
129
  #
130
130
  # @param customer_id [String]
131
131
  #
132
- # @param currency [String, nil] The currency or custom pricing unit to use.
132
+ # @param currency [String, nil] The currency to use.
133
133
  #
134
134
  # @param timeframe_end [Time, nil] Costs returned are exclusive of `timeframe_end`.
135
135
  #
@@ -278,7 +278,7 @@ module Orb
278
278
  #
279
279
  # @param external_customer_id [String]
280
280
  #
281
- # @param currency [String, nil] The currency or custom pricing unit to use.
281
+ # @param currency [String, nil] The currency to use.
282
282
  #
283
283
  # @param timeframe_end [Time, nil] Costs returned are exclusive of `timeframe_end`.
284
284
  #
@@ -8,7 +8,7 @@ module Orb
8
8
  #
9
9
  # This endpoint is used to create a one-off invoice for a customer.
10
10
  #
11
- # @overload create(currency:, invoice_date:, line_items:, net_terms:, customer_id: nil, discount: nil, external_customer_id: nil, memo: nil, metadata: nil, will_auto_issue: nil, request_options: {})
11
+ # @overload create(currency:, invoice_date:, line_items:, customer_id: nil, discount: nil, external_customer_id: nil, memo: nil, metadata: nil, net_terms: nil, will_auto_issue: nil, request_options: {})
12
12
  #
13
13
  # @param currency [String] An ISO 4217 currency string. Must be the same as the customer's currency if it i
14
14
  #
@@ -16,8 +16,6 @@ module Orb
16
16
  #
17
17
  # @param line_items [Array<Orb::Models::InvoiceCreateParams::LineItem>]
18
18
  #
19
- # @param net_terms [Integer] Determines the difference between the invoice issue date for subscription invoic
20
- #
21
19
  # @param customer_id [String, nil] The id of the `Customer` to create this invoice for. One of `customer_id` and `e
22
20
  #
23
21
  # @param discount [Orb::Models::PercentageDiscount, Orb::Models::TrialDiscount, Orb::Models::UsageDiscount, Orb::Models::AmountDiscount, nil] An optional discount to attach to the invoice.
@@ -28,6 +26,8 @@ module Orb
28
26
  #
29
27
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
30
28
  #
29
+ # @param net_terms [Integer, nil] Determines the difference between the invoice issue date for subscription invoic
30
+ #
31
31
  # @param will_auto_issue [Boolean] When true, this invoice will be submitted for issuance upon creation. When false
32
32
  #
33
33
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -568,7 +568,7 @@ module Orb
568
568
  #
569
569
  # @param subscription_id [String]
570
570
  #
571
- # @param currency [String, nil] The currency or custom pricing unit to use.
571
+ # @param currency [String, nil] The currency to use.
572
572
  #
573
573
  # @param timeframe_end [Time, nil] Costs returned are exclusive of `timeframe_end`.
574
574
  #
data/lib/orb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orb
4
- VERSION = "1.7.0"
4
+ VERSION = "1.9.0"
5
5
  end
@@ -15,7 +15,7 @@ module Orb
15
15
  )
16
16
  end
17
17
 
18
- # The currency or custom pricing unit to use.
18
+ # The currency to use.
19
19
  sig { returns(T.nilable(String)) }
20
20
  attr_accessor :currency
21
21
 
@@ -53,7 +53,7 @@ module Orb
53
53
  ).returns(T.attached_class)
54
54
  end
55
55
  def self.new(
56
- # The currency or custom pricing unit to use.
56
+ # The currency to use.
57
57
  currency: nil,
58
58
  # Costs returned are exclusive of `timeframe_end`.
59
59
  timeframe_end: nil,
@@ -12,7 +12,7 @@ module Orb
12
12
  T.any(Orb::Customers::CostListParams, Orb::Internal::AnyHash)
13
13
  end
14
14
 
15
- # The currency or custom pricing unit to use.
15
+ # The currency to use.
16
16
  sig { returns(T.nilable(String)) }
17
17
  attr_accessor :currency
18
18
 
@@ -44,7 +44,7 @@ module Orb
44
44
  ).returns(T.attached_class)
45
45
  end
46
46
  def self.new(
47
- # The currency or custom pricing unit to use.
47
+ # The currency to use.
48
48
  currency: nil,
49
49
  # Costs returned are exclusive of `timeframe_end`.
50
50
  timeframe_end: nil,
@@ -22,13 +22,6 @@ module Orb
22
22
  sig { returns(T::Array[Orb::InvoiceCreateParams::LineItem]) }
23
23
  attr_accessor :line_items
24
24
 
25
- # Determines the difference between the invoice issue date for subscription
26
- # invoices as the date that they are due. A value of '0' here represents that the
27
- # invoice is due on issue, whereas a value of 30 represents that the customer has
28
- # 30 days to pay the invoice.
29
- sig { returns(Integer) }
30
- attr_accessor :net_terms
31
-
32
25
  # The id of the `Customer` to create this invoice for. One of `customer_id` and
33
26
  # `external_customer_id` are required.
34
27
  sig { returns(T.nilable(String)) }
@@ -64,6 +57,13 @@ module Orb
64
57
  sig { returns(T.nilable(T::Hash[Symbol, T.nilable(String)])) }
65
58
  attr_accessor :metadata
66
59
 
60
+ # Determines the difference between the invoice issue date for subscription
61
+ # invoices as the date that they are due. A value of '0' here represents that the
62
+ # invoice is due on issue, whereas a value of 30 represents that the customer has
63
+ # 30 days to pay the invoice.
64
+ sig { returns(T.nilable(Integer)) }
65
+ attr_accessor :net_terms
66
+
67
67
  # When true, this invoice will be submitted for issuance upon creation. When
68
68
  # false, the resulting invoice will require manual review to issue. Defaulted to
69
69
  # false.
@@ -78,7 +78,6 @@ module Orb
78
78
  currency: String,
79
79
  invoice_date: Time,
80
80
  line_items: T::Array[Orb::InvoiceCreateParams::LineItem::OrHash],
81
- net_terms: Integer,
82
81
  customer_id: T.nilable(String),
83
82
  discount:
84
83
  T.nilable(
@@ -92,6 +91,7 @@ module Orb
92
91
  external_customer_id: T.nilable(String),
93
92
  memo: T.nilable(String),
94
93
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
94
+ net_terms: T.nilable(Integer),
95
95
  will_auto_issue: T::Boolean,
96
96
  request_options: Orb::RequestOptions::OrHash
97
97
  ).returns(T.attached_class)
@@ -104,11 +104,6 @@ module Orb
104
104
  # set to the current time in the customer's timezone.
105
105
  invoice_date:,
106
106
  line_items:,
107
- # Determines the difference between the invoice issue date for subscription
108
- # invoices as the date that they are due. A value of '0' here represents that the
109
- # invoice is due on issue, whereas a value of 30 represents that the customer has
110
- # 30 days to pay the invoice.
111
- net_terms:,
112
107
  # The id of the `Customer` to create this invoice for. One of `customer_id` and
113
108
  # `external_customer_id` are required.
114
109
  customer_id: nil,
@@ -123,6 +118,11 @@ module Orb
123
118
  # by setting the value to `null`, and the entire metadata mapping can be cleared
124
119
  # by setting `metadata` to `null`.
125
120
  metadata: nil,
121
+ # Determines the difference between the invoice issue date for subscription
122
+ # invoices as the date that they are due. A value of '0' here represents that the
123
+ # invoice is due on issue, whereas a value of 30 represents that the customer has
124
+ # 30 days to pay the invoice.
125
+ net_terms: nil,
126
126
  # When true, this invoice will be submitted for issuance upon creation. When
127
127
  # false, the resulting invoice will require manual review to issue. Defaulted to
128
128
  # false.
@@ -137,7 +137,6 @@ module Orb
137
137
  currency: String,
138
138
  invoice_date: Time,
139
139
  line_items: T::Array[Orb::InvoiceCreateParams::LineItem],
140
- net_terms: Integer,
141
140
  customer_id: T.nilable(String),
142
141
  discount:
143
142
  T.nilable(
@@ -151,6 +150,7 @@ module Orb
151
150
  external_customer_id: T.nilable(String),
152
151
  memo: T.nilable(String),
153
152
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
153
+ net_terms: T.nilable(Integer),
154
154
  will_auto_issue: T::Boolean,
155
155
  request_options: Orb::RequestOptions
156
156
  }
@@ -11,7 +11,7 @@ module Orb
11
11
  T.any(Orb::SubscriptionFetchCostsParams, Orb::Internal::AnyHash)
12
12
  end
13
13
 
14
- # The currency or custom pricing unit to use.
14
+ # The currency to use.
15
15
  sig { returns(T.nilable(String)) }
16
16
  attr_accessor :currency
17
17
 
@@ -45,7 +45,7 @@ module Orb
45
45
  ).returns(T.attached_class)
46
46
  end
47
47
  def self.new(
48
- # The currency or custom pricing unit to use.
48
+ # The currency to use.
49
49
  currency: nil,
50
50
  # Costs returned are exclusive of `timeframe_end`.
51
51
  timeframe_end: nil,
@@ -134,7 +134,7 @@ module Orb
134
134
  end
135
135
  def list(
136
136
  customer_id,
137
- # The currency or custom pricing unit to use.
137
+ # The currency to use.
138
138
  currency: nil,
139
139
  # Costs returned are exclusive of `timeframe_end`.
140
140
  timeframe_end: nil,
@@ -281,7 +281,7 @@ module Orb
281
281
  end
282
282
  def list_by_external_id(
283
283
  external_customer_id,
284
- # The currency or custom pricing unit to use.
284
+ # The currency to use.
285
285
  currency: nil,
286
286
  # Costs returned are exclusive of `timeframe_end`.
287
287
  timeframe_end: nil,
@@ -9,7 +9,6 @@ module Orb
9
9
  currency: String,
10
10
  invoice_date: Time,
11
11
  line_items: T::Array[Orb::InvoiceCreateParams::LineItem::OrHash],
12
- net_terms: Integer,
13
12
  customer_id: T.nilable(String),
14
13
  discount:
15
14
  T.nilable(
@@ -23,6 +22,7 @@ module Orb
23
22
  external_customer_id: T.nilable(String),
24
23
  memo: T.nilable(String),
25
24
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
25
+ net_terms: T.nilable(Integer),
26
26
  will_auto_issue: T::Boolean,
27
27
  request_options: Orb::RequestOptions::OrHash
28
28
  ).returns(Orb::Invoice)
@@ -35,11 +35,6 @@ module Orb
35
35
  # set to the current time in the customer's timezone.
36
36
  invoice_date:,
37
37
  line_items:,
38
- # Determines the difference between the invoice issue date for subscription
39
- # invoices as the date that they are due. A value of '0' here represents that the
40
- # invoice is due on issue, whereas a value of 30 represents that the customer has
41
- # 30 days to pay the invoice.
42
- net_terms:,
43
38
  # The id of the `Customer` to create this invoice for. One of `customer_id` and
44
39
  # `external_customer_id` are required.
45
40
  customer_id: nil,
@@ -54,6 +49,11 @@ module Orb
54
49
  # by setting the value to `null`, and the entire metadata mapping can be cleared
55
50
  # by setting `metadata` to `null`.
56
51
  metadata: nil,
52
+ # Determines the difference between the invoice issue date for subscription
53
+ # invoices as the date that they are due. A value of '0' here represents that the
54
+ # invoice is due on issue, whereas a value of 30 represents that the customer has
55
+ # 30 days to pay the invoice.
56
+ net_terms: nil,
57
57
  # When true, this invoice will be submitted for issuance upon creation. When
58
58
  # false, the resulting invoice will require manual review to issue. Defaulted to
59
59
  # false.
@@ -611,7 +611,7 @@ module Orb
611
611
  end
612
612
  def fetch_costs(
613
613
  subscription_id,
614
- # The currency or custom pricing unit to use.
614
+ # The currency to use.
615
615
  currency: nil,
616
616
  # Costs returned are exclusive of `timeframe_end`.
617
617
  timeframe_end: nil,
@@ -5,12 +5,12 @@ module Orb
5
5
  currency: String,
6
6
  invoice_date: Time,
7
7
  line_items: ::Array[Orb::InvoiceCreateParams::LineItem],
8
- net_terms: Integer,
9
8
  customer_id: String?,
10
9
  discount: Orb::Models::discount?,
11
10
  external_customer_id: String?,
12
11
  memo: String?,
13
12
  metadata: ::Hash[Symbol, String?]?,
13
+ net_terms: Integer?,
14
14
  will_auto_issue: bool
15
15
  }
16
16
  & Orb::Internal::Type::request_parameters
@@ -25,8 +25,6 @@ module Orb
25
25
 
26
26
  attr_accessor line_items: ::Array[Orb::InvoiceCreateParams::LineItem]
27
27
 
28
- attr_accessor net_terms: Integer
29
-
30
28
  attr_accessor customer_id: String?
31
29
 
32
30
  attr_accessor discount: Orb::Models::discount?
@@ -37,6 +35,8 @@ module Orb
37
35
 
38
36
  attr_accessor metadata: ::Hash[Symbol, String?]?
39
37
 
38
+ attr_accessor net_terms: Integer?
39
+
40
40
  attr_reader will_auto_issue: bool?
41
41
 
42
42
  def will_auto_issue=: (bool) -> bool
@@ -45,12 +45,12 @@ module Orb
45
45
  currency: String,
46
46
  invoice_date: Time,
47
47
  line_items: ::Array[Orb::InvoiceCreateParams::LineItem],
48
- net_terms: Integer,
49
48
  ?customer_id: String?,
50
49
  ?discount: Orb::Models::discount?,
51
50
  ?external_customer_id: String?,
52
51
  ?memo: String?,
53
52
  ?metadata: ::Hash[Symbol, String?]?,
53
+ ?net_terms: Integer?,
54
54
  ?will_auto_issue: bool,
55
55
  ?request_options: Orb::request_opts
56
56
  ) -> void
@@ -59,12 +59,12 @@ module Orb
59
59
  currency: String,
60
60
  invoice_date: Time,
61
61
  line_items: ::Array[Orb::InvoiceCreateParams::LineItem],
62
- net_terms: Integer,
63
62
  customer_id: String?,
64
63
  discount: Orb::Models::discount?,
65
64
  external_customer_id: String?,
66
65
  memo: String?,
67
66
  metadata: ::Hash[Symbol, String?]?,
67
+ net_terms: Integer?,
68
68
  will_auto_issue: bool,
69
69
  request_options: Orb::RequestOptions
70
70
  }
@@ -5,12 +5,12 @@ module Orb
5
5
  currency: String,
6
6
  invoice_date: Time,
7
7
  line_items: ::Array[Orb::InvoiceCreateParams::LineItem],
8
- net_terms: Integer,
9
8
  ?customer_id: String?,
10
9
  ?discount: Orb::Models::discount?,
11
10
  ?external_customer_id: String?,
12
11
  ?memo: String?,
13
12
  ?metadata: ::Hash[Symbol, String?]?,
13
+ ?net_terms: Integer?,
14
14
  ?will_auto_issue: bool,
15
15
  ?request_options: Orb::request_opts
16
16
  ) -> Orb::Invoice
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orb-billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-16 00:00:00.000000000 Z
11
+ date: 2025-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool