Skip to content

Commit

Permalink
fix: rename customer.credits.ledger.create_entry_by_exteral_id and Re…
Browse files Browse the repository at this point in the history
…questValidationErrors (#7)

## Migration
- RequestValidationErrors -> RequestValidationError
- create_entry_by_exteral_id -> create_entry_by_external_id
  • Loading branch information
stainless-bot committed Oct 26, 2023
1 parent 5399b6d commit 5b1636b
Show file tree
Hide file tree
Showing 3 changed files with 346 additions and 346 deletions.
4 changes: 2 additions & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ Response Types:

- <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerListResponse">CustomerCreditLedgerListResponse</a>
- <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryResponse">CustomerCreditLedgerNewEntryResponse</a>
- <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryByExteralIDResponse">CustomerCreditLedgerNewEntryByExteralIDResponse</a>
- <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryByExternalIDResponse">CustomerCreditLedgerNewEntryByExternalIDResponse</a>
- <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerListByExternalIDResponse">CustomerCreditLedgerListByExternalIDResponse</a>

Methods:

- <code title="get /customers/{customer_id}/credits/ledger">client.Customers.Credits.Ledger.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, customerID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerListParams">CustomerCreditLedgerListParams</a>) (<a href="https://pkg.go.dev/github.com/orbcorp/orb-go/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go/internal/shared#Page">Page</a>[<a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerListResponse">CustomerCreditLedgerListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /customers/{customer_id}/credits/ledger_entry">client.Customers.Credits.Ledger.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerService.NewEntry">NewEntry</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, customerID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryParams">CustomerCreditLedgerNewEntryParams</a>) (<a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryResponse">CustomerCreditLedgerNewEntryResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /customers/external_customer_id/{external_customer_id}/credits/ledger_entry">client.Customers.Credits.Ledger.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerService.NewEntryByExteralID">NewEntryByExteralID</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, externalCustomerID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryByExteralIDParams">CustomerCreditLedgerNewEntryByExteralIDParams</a>) (<a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryByExteralIDResponse">CustomerCreditLedgerNewEntryByExteralIDResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /customers/external_customer_id/{external_customer_id}/credits/ledger_entry">client.Customers.Credits.Ledger.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerService.NewEntryByExternalID">NewEntryByExternalID</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, externalCustomerID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryByExternalIDParams">CustomerCreditLedgerNewEntryByExternalIDParams</a>) (<a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerNewEntryByExternalIDResponse">CustomerCreditLedgerNewEntryByExternalIDResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /customers/external_customer_id/{external_customer_id}/credits/ledger">client.Customers.Credits.Ledger.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerService.ListByExternalID">ListByExternalID</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, externalCustomerID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerListByExternalIDParams">CustomerCreditLedgerListByExternalIDParams</a>) (<a href="https://pkg.go.dev/github.com/orbcorp/orb-go/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go/internal/shared#Page">Page</a>[<a href="https://pkg.go.dev/github.com/orbcorp/orb-go">orb</a>.<a href="https://pkg.go.dev/github.com/orbcorp/orb-go#CustomerCreditLedgerListByExternalIDResponse">CustomerCreditLedgerListByExternalIDResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## BalanceTransactions
Expand Down
Loading

0 comments on commit 5b1636b

Please sign in to comment.