@@ -31,23 +31,21 @@ s = orb.Orb(
3131)
3232
3333
34- res = s.credit.add_by_external_id(' porro ' , shared.NewCreditLedgerEntry(
35- amount = 6788.8 ,
36- block_id = ' dicta ' ,
37- description = ' nam ' ,
38- entry_type = shared.EntryType.EXPIRATION_CHANGE ,
34+ res = s.credit.add_by_external_id(' reiciendis ' , shared.NewCreditLedgerEntry(
35+ amount = 6667.67 ,
36+ block_id = ' mollitia ' ,
37+ description = ' laborum ' ,
38+ entry_type = shared.EntryType.INCREMENT ,
3939 expiry_date = dateutil.parser.parse(' 2023-01-01' ).date(),
4040 invoice_settings = shared.NewCreditLedgerEntryInvoiceSettings(
4141 auto_collection = False ,
42- memo = ' occaecati ' ,
43- net_terms = 1433.53 ,
42+ memo = ' dolorem ' ,
43+ net_terms = 3581.52 ,
4444 ),
4545 metadata = {
46- " hic" : ' optio' ,
47- " totam" : ' beatae' ,
48- " commodi" : ' molestiae' ,
46+ " nobis" : ' enim' ,
4947 },
50- per_unit_cost_basis = ' modi ' ,
48+ per_unit_cost_basis = ' omnis ' ,
5149 target_expiry_date = dateutil.parser.parse(' 2023-02-01' ).date(),
5250))
5351
@@ -129,21 +127,24 @@ s = orb.Orb(
129127)
130128
131129
132- res = s.credit.create(' qui ' , shared.NewCreditLedgerEntry(
133- amount = 7742.34 ,
134- block_id = ' cum ' ,
135- description = ' esse ' ,
136- entry_type = shared.EntryType.INCREMENT ,
130+ res = s.credit.create(' nemo ' , shared.NewCreditLedgerEntry(
131+ amount = 3250.47 ,
132+ block_id = ' excepturi ' ,
133+ description = ' accusantium ' ,
134+ entry_type = shared.EntryType.DECREMENT ,
137135 expiry_date = dateutil.parser.parse(' 2023-01-01' ).date(),
138136 invoice_settings = shared.NewCreditLedgerEntryInvoiceSettings(
139137 auto_collection = False ,
140- memo = ' excepturi ' ,
141- net_terms = 1352.18 ,
138+ memo = ' culpa ' ,
139+ net_terms = 9883.74 ,
142140 ),
143141 metadata = {
144- " ad" : ' natus' ,
142+ " architecto" : ' mollitia' ,
143+ " dolorem" : ' culpa' ,
144+ " consequuntur" : ' repellat' ,
145+ " mollitia" : ' occaecati' ,
145146 },
146- per_unit_cost_basis = ' sed ' ,
147+ per_unit_cost_basis = ' numquam ' ,
147148 target_expiry_date = dateutil.parser.parse(' 2023-02-01' ).date(),
148149))
149150
@@ -172,7 +173,7 @@ s = orb.Orb(
172173)
173174
174175
175- res = s.credit.fetch(' iste ' )
176+ res = s.credit.fetch(' commodi ' )
176177
177178if res.credits is not None :
178179 # handle response
@@ -195,7 +196,7 @@ s = orb.Orb(
195196)
196197
197198
198- res = s.credit.fetch_by_external_id(' dolor ' )
199+ res = s.credit.fetch_by_external_id(' quam ' )
199200
200201if res.credits is not None :
201202 # handle response
@@ -248,7 +249,7 @@ s = orb.Orb(
248249)
249250
250251
251- res = s.credit.fetch_ledger(' natus ' , shared.EntryStatus.COMMITTED , ' hic ' , 9025.99 )
252+ res = s.credit.fetch_ledger(' molestiae ' , shared.EntryStatus.COMMITTED , ' error ' , 1589.69 )
252253
253254if res.credit_ledger_entries is not None :
254255 # handle response
@@ -271,7 +272,7 @@ s = orb.Orb(
271272)
272273
273274
274- res = s.credit.fetch_ledger_by_external_id(' fuga ' , shared.EntryStatus.COMMITTED , ' corporis ' , 6130.64 )
275+ res = s.credit.fetch_ledger_by_external_id(' quis ' , shared.EntryStatus.COMMITTED , ' laborum ' , 6563.3 )
275276
276277if res.credit_ledger_entries is not None :
277278 # handle response
0 commit comments