orb-billing 1.5.1 → 1.6.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 +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -1
- data/lib/orb/models/credit_note_create_params.rb +22 -21
- data/lib/orb/resources/credit_notes.rb +2 -2
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/credit_note_create_params.rbi +36 -34
- data/rbi/orb/resources/credit_notes.rbi +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3f5680937e041cc9ffbb5053850aa48cbbaa99f9bd8ae054bbe18d547c9404c
|
4
|
+
data.tar.gz: 1cca78b8b0c0767a23a4a7e9d01a715e00ef5d7644348896a07b7b497a835ae9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f3d60e893a9dc4ce1c150585169a1e281ab6f88f92517b2e4fd0f1ae07d25d3cc83aa19128bbbaec7f509ecdecea336bba5c1d314f7bcb3bb970d31c008bdbf
|
7
|
+
data.tar.gz: 592341b112aeba6378a1b8ebc52436b4b663410b67d6561cd8071f3bf04a3790f452c825599a40679fdd77b7e81f375896922964683114476fe7a917461ac0c2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.6.0 (2025-07-16)
|
4
|
+
|
5
|
+
Full Changelog: [v1.5.1...v1.6.0](https://github.com/orbcorp/orb-ruby/compare/v1.5.1...v1.6.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([f48f7f7](https://github.com/orbcorp/orb-ruby/commit/f48f7f74612c909510f17c3aa881dfe624d019fe))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **internal:** version bump ([c9a74a0](https://github.com/orbcorp/orb-ruby/commit/c9a74a0a6affd0104ee2d4950f8c9910a23d25fe))
|
15
|
+
|
3
16
|
## 1.5.1 (2025-07-16)
|
4
17
|
|
5
18
|
Full Changelog: [v1.5.0...v1.5.1](https://github.com/orbcorp/orb-ruby/compare/v1.5.0...v1.5.1)
|
data/README.md
CHANGED
@@ -19,10 +19,10 @@ module Orb
|
|
19
19
|
required :reason, enum: -> { Orb::CreditNoteCreateParams::Reason }
|
20
20
|
|
21
21
|
# @!attribute end_date
|
22
|
-
#
|
23
|
-
# customer's timezone. This will be applied to all line items
|
24
|
-
#
|
25
|
-
#
|
22
|
+
# An optional date string to specify the global credit note service period end
|
23
|
+
# date in the customer's timezone. This will be applied to all line items. If not
|
24
|
+
# provided, line items will use their original invoice line item service periods.
|
25
|
+
# This date is inclusive.
|
26
26
|
#
|
27
27
|
# @return [Date, nil]
|
28
28
|
optional :end_date, Date, nil?: true
|
@@ -34,10 +34,10 @@ module Orb
|
|
34
34
|
optional :memo, String, nil?: true
|
35
35
|
|
36
36
|
# @!attribute start_date
|
37
|
-
#
|
38
|
-
# customer's timezone. This will be applied to all line items
|
39
|
-
#
|
40
|
-
#
|
37
|
+
# An optional date string to specify the global credit note service period end
|
38
|
+
# date in the customer's timezone. This will be applied to all line items. If not
|
39
|
+
# provided, line items will use their original invoice line item service periods.
|
40
|
+
# This date is inclusive.
|
41
41
|
#
|
42
42
|
# @return [Date, nil]
|
43
43
|
optional :start_date, Date, nil?: true
|
@@ -50,11 +50,11 @@ module Orb
|
|
50
50
|
#
|
51
51
|
# @param reason [Symbol, Orb::Models::CreditNoteCreateParams::Reason] An optional reason for the credit note.
|
52
52
|
#
|
53
|
-
# @param end_date [Date, nil]
|
53
|
+
# @param end_date [Date, nil] An optional date string to specify the global credit note service period end dat
|
54
54
|
#
|
55
55
|
# @param memo [String, nil] An optional memo to attach to the credit note.
|
56
56
|
#
|
57
|
-
# @param start_date [Date, nil]
|
57
|
+
# @param start_date [Date, nil] An optional date string to specify the global credit note service period end dat
|
58
58
|
#
|
59
59
|
# @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}]
|
60
60
|
|
@@ -72,20 +72,21 @@ module Orb
|
|
72
72
|
required :invoice_line_item_id, String
|
73
73
|
|
74
74
|
# @!attribute end_date
|
75
|
-
#
|
76
|
-
# the customer's timezone. If provided, this will be used for this
|
77
|
-
# item. If not provided, will use the global end_date if available,
|
78
|
-
# defaults to the original invoice line item's end date. This date is
|
75
|
+
# An optional date string to specify this line item's credit note service period
|
76
|
+
# end date in the customer's timezone. If provided, this will be used for this
|
77
|
+
# specific line item. If not provided, will use the global end_date if available,
|
78
|
+
# otherwise defaults to the original invoice line item's end date. This date is
|
79
|
+
# inclusive.
|
79
80
|
#
|
80
81
|
# @return [Date, nil]
|
81
82
|
optional :end_date, Date, nil?: true
|
82
83
|
|
83
84
|
# @!attribute start_date
|
84
|
-
#
|
85
|
-
# in the customer's timezone. If provided, this will be used for this
|
86
|
-
# line item. If not provided, will use the global start_date if
|
87
|
-
# otherwise defaults to the original invoice line item's start date.
|
88
|
-
# inclusive.
|
85
|
+
# An optional date string to specify this line item's credit note service period
|
86
|
+
# start date in the customer's timezone. If provided, this will be used for this
|
87
|
+
# specific line item. If not provided, will use the global start_date if
|
88
|
+
# available, otherwise defaults to the original invoice line item's start date.
|
89
|
+
# This date is inclusive.
|
89
90
|
#
|
90
91
|
# @return [Date, nil]
|
91
92
|
optional :start_date, Date, nil?: true
|
@@ -98,9 +99,9 @@ module Orb
|
|
98
99
|
#
|
99
100
|
# @param invoice_line_item_id [String] The ID of the line item to credit.
|
100
101
|
#
|
101
|
-
# @param end_date [Date, nil]
|
102
|
+
# @param end_date [Date, nil] An optional date string to specify this line item's credit note service period e
|
102
103
|
#
|
103
|
-
# @param start_date [Date, nil]
|
104
|
+
# @param start_date [Date, nil] An optional date string to specify this line item's credit note service period s
|
104
105
|
end
|
105
106
|
|
106
107
|
# An optional reason for the credit note.
|
@@ -40,11 +40,11 @@ module Orb
|
|
40
40
|
#
|
41
41
|
# @param reason [Symbol, Orb::Models::CreditNoteCreateParams::Reason] An optional reason for the credit note.
|
42
42
|
#
|
43
|
-
# @param end_date [Date, nil]
|
43
|
+
# @param end_date [Date, nil] An optional date string to specify the global credit note service period end dat
|
44
44
|
#
|
45
45
|
# @param memo [String, nil] An optional memo to attach to the credit note.
|
46
46
|
#
|
47
|
-
# @param start_date [Date, nil]
|
47
|
+
# @param start_date [Date, nil] An optional date string to specify the global credit note service period end dat
|
48
48
|
#
|
49
49
|
# @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
|
50
50
|
#
|
data/lib/orb/version.rb
CHANGED
@@ -18,10 +18,10 @@ module Orb
|
|
18
18
|
sig { returns(Orb::CreditNoteCreateParams::Reason::OrSymbol) }
|
19
19
|
attr_accessor :reason
|
20
20
|
|
21
|
-
#
|
22
|
-
# customer's timezone. This will be applied to all line items
|
23
|
-
#
|
24
|
-
#
|
21
|
+
# An optional date string to specify the global credit note service period end
|
22
|
+
# date in the customer's timezone. This will be applied to all line items. If not
|
23
|
+
# provided, line items will use their original invoice line item service periods.
|
24
|
+
# This date is inclusive.
|
25
25
|
sig { returns(T.nilable(Date)) }
|
26
26
|
attr_accessor :end_date
|
27
27
|
|
@@ -29,10 +29,10 @@ module Orb
|
|
29
29
|
sig { returns(T.nilable(String)) }
|
30
30
|
attr_accessor :memo
|
31
31
|
|
32
|
-
#
|
33
|
-
# customer's timezone. This will be applied to all line items
|
34
|
-
#
|
35
|
-
#
|
32
|
+
# An optional date string to specify the global credit note service period end
|
33
|
+
# date in the customer's timezone. This will be applied to all line items. If not
|
34
|
+
# provided, line items will use their original invoice line item service periods.
|
35
|
+
# This date is inclusive.
|
36
36
|
sig { returns(T.nilable(Date)) }
|
37
37
|
attr_accessor :start_date
|
38
38
|
|
@@ -50,17 +50,17 @@ module Orb
|
|
50
50
|
line_items:,
|
51
51
|
# An optional reason for the credit note.
|
52
52
|
reason:,
|
53
|
-
#
|
54
|
-
# customer's timezone. This will be applied to all line items
|
55
|
-
#
|
56
|
-
#
|
53
|
+
# An optional date string to specify the global credit note service period end
|
54
|
+
# date in the customer's timezone. This will be applied to all line items. If not
|
55
|
+
# provided, line items will use their original invoice line item service periods.
|
56
|
+
# This date is inclusive.
|
57
57
|
end_date: nil,
|
58
58
|
# An optional memo to attach to the credit note.
|
59
59
|
memo: nil,
|
60
|
-
#
|
61
|
-
# customer's timezone. This will be applied to all line items
|
62
|
-
#
|
63
|
-
#
|
60
|
+
# An optional date string to specify the global credit note service period end
|
61
|
+
# date in the customer's timezone. This will be applied to all line items. If not
|
62
|
+
# provided, line items will use their original invoice line item service periods.
|
63
|
+
# This date is inclusive.
|
64
64
|
start_date: nil,
|
65
65
|
request_options: {}
|
66
66
|
)
|
@@ -95,18 +95,19 @@ module Orb
|
|
95
95
|
sig { returns(String) }
|
96
96
|
attr_accessor :invoice_line_item_id
|
97
97
|
|
98
|
-
#
|
99
|
-
# the customer's timezone. If provided, this will be used for this
|
100
|
-
# item. If not provided, will use the global end_date if available,
|
101
|
-
# defaults to the original invoice line item's end date. This date is
|
98
|
+
# An optional date string to specify this line item's credit note service period
|
99
|
+
# end date in the customer's timezone. If provided, this will be used for this
|
100
|
+
# specific line item. If not provided, will use the global end_date if available,
|
101
|
+
# otherwise defaults to the original invoice line item's end date. This date is
|
102
|
+
# inclusive.
|
102
103
|
sig { returns(T.nilable(Date)) }
|
103
104
|
attr_accessor :end_date
|
104
105
|
|
105
|
-
#
|
106
|
-
# in the customer's timezone. If provided, this will be used for this
|
107
|
-
# line item. If not provided, will use the global start_date if
|
108
|
-
# otherwise defaults to the original invoice line item's start date.
|
109
|
-
# inclusive.
|
106
|
+
# An optional date string to specify this line item's credit note service period
|
107
|
+
# start date in the customer's timezone. If provided, this will be used for this
|
108
|
+
# specific line item. If not provided, will use the global start_date if
|
109
|
+
# available, otherwise defaults to the original invoice line item's start date.
|
110
|
+
# This date is inclusive.
|
110
111
|
sig { returns(T.nilable(Date)) }
|
111
112
|
attr_accessor :start_date
|
112
113
|
|
@@ -123,16 +124,17 @@ module Orb
|
|
123
124
|
amount:,
|
124
125
|
# The ID of the line item to credit.
|
125
126
|
invoice_line_item_id:,
|
126
|
-
#
|
127
|
-
# the customer's timezone. If provided, this will be used for this
|
128
|
-
# item. If not provided, will use the global end_date if available,
|
129
|
-
# defaults to the original invoice line item's end date. This date is
|
130
|
-
end_date: nil,
|
131
|
-
# A date string to specify this line item's credit note service period start date
|
132
|
-
# in the customer's timezone. If provided, this will be used for this specific
|
133
|
-
# line item. If not provided, will use the global start_date if available,
|
134
|
-
# otherwise defaults to the original invoice line item's start date. This date is
|
127
|
+
# An optional date string to specify this line item's credit note service period
|
128
|
+
# end date in the customer's timezone. If provided, this will be used for this
|
129
|
+
# specific line item. If not provided, will use the global end_date if available,
|
130
|
+
# otherwise defaults to the original invoice line item's end date. This date is
|
135
131
|
# inclusive.
|
132
|
+
end_date: nil,
|
133
|
+
# An optional date string to specify this line item's credit note service period
|
134
|
+
# start date in the customer's timezone. If provided, this will be used for this
|
135
|
+
# specific line item. If not provided, will use the global start_date if
|
136
|
+
# available, otherwise defaults to the original invoice line item's start date.
|
137
|
+
# This date is inclusive.
|
136
138
|
start_date: nil
|
137
139
|
)
|
138
140
|
end
|
@@ -44,17 +44,17 @@ module Orb
|
|
44
44
|
line_items:,
|
45
45
|
# An optional reason for the credit note.
|
46
46
|
reason:,
|
47
|
-
#
|
48
|
-
# customer's timezone. This will be applied to all line items
|
49
|
-
#
|
50
|
-
#
|
47
|
+
# An optional date string to specify the global credit note service period end
|
48
|
+
# date in the customer's timezone. This will be applied to all line items. If not
|
49
|
+
# provided, line items will use their original invoice line item service periods.
|
50
|
+
# This date is inclusive.
|
51
51
|
end_date: nil,
|
52
52
|
# An optional memo to attach to the credit note.
|
53
53
|
memo: nil,
|
54
|
-
#
|
55
|
-
# customer's timezone. This will be applied to all line items
|
56
|
-
#
|
57
|
-
#
|
54
|
+
# An optional date string to specify the global credit note service period end
|
55
|
+
# date in the customer's timezone. This will be applied to all line items. If not
|
56
|
+
# provided, line items will use their original invoice line item service periods.
|
57
|
+
# This date is inclusive.
|
58
58
|
start_date: nil,
|
59
59
|
request_options: {}
|
60
60
|
)
|