Every method read CloudGetV1Tools: a cloud_ service prefix and the default version, both inside the operationId, from a document two renames ago. 2703 method names carried V1 and 3186 carried Cloud, and each one addressed an operation that no longer exists. Regenerated from hanzoai/cloud's openapi.yaml at the ref .spec-lock now names, digest re-checked. Two names survive and are correct: GetTeamTransactorApiV1Statistics keeps its second v1 because that one is a path segment, and CloudIntegrationId is a query setter named after its parameter. Four schemas cannot be generated as they stand, and the fix is a generator knob rather than an edit to the output. Three o11y schemas declare a field whose Pascal spelling is already the accessor Go emits for a sibling — the eight has<Label>Name flags on PodOnboarding, has_existing_observability_tool on PostableProfile, and the two spellings each of integration_config and removed_at that GettableAgentCheckIn publishes so older AWS agents keep working. Each maps to a Go-side name; the document's key stays as the json tag, so every one still round-trips under the name it was sent with. Every mapped value is spelled exported: the Go generator takes a mapped name verbatim where python and kotlin re-case theirs, so a camel value lands an unexported field that compiles and that encoding/json drops in both directions. The fourth is the document's `Config`, the MQ stream configuration, whose constructor NewConfig is already hanzo.go's. It maps to StreamConfig, which is also what it is — every other config in the document is qualified. The drift check asks the committed FILES manifest whether the generator ever owned a file before calling it stale. Without that it reported hanzo.go and hanzo_test.go, which the generator never wrote, and could not pass. Examples call what the client has. hello moves to get_keys, the route that refuses a bad key, since bot_authMe stopped resolving when cloud began relaying all of /v1/bot through one wildcard. chat has no example in any language: the document states POST /v1/chat/completions and not its shape, so the generated method carries no prompt. TestFlows still pins the address.
3.7 KiB
CartOpen
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Currency | Pointer to string | Currency is the ISO 4217 code the cart is priced in, lower-cased. Empty means usd. | [optional] |
| Pointer to string | Email is the shopper's address, for a cart that belongs to someone who has not signed in. It is what a guest checkout and an abandoned-cart follow-up key on. Empty is fine. | [optional] | |
| Store | Pointer to string | Store is the storefront this cart is being filled on. Empty uses the org's default store, which is what a single-storefront merchant always wants. | [optional] |
| User | Pointer to string | User is the id of the signed-in shopper this cart belongs to, when there is one. Empty means a guest cart identified only by its own id. | [optional] |
Methods
NewCartOpen
func NewCartOpen() *CartOpen
NewCartOpen instantiates a new CartOpen object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewCartOpenWithDefaults
func NewCartOpenWithDefaults() *CartOpen
NewCartOpenWithDefaults instantiates a new CartOpen object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetCurrency
func (o *CartOpen) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
GetCurrencyOk
func (o *CartOpen) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCurrency
func (o *CartOpen) SetCurrency(v string)
SetCurrency sets Currency field to given value.
HasCurrency
func (o *CartOpen) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
GetEmail
func (o *CartOpen) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
GetEmailOk
func (o *CartOpen) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEmail
func (o *CartOpen) SetEmail(v string)
SetEmail sets Email field to given value.
HasEmail
func (o *CartOpen) HasEmail() bool
HasEmail returns a boolean if a field has been set.
GetStore
func (o *CartOpen) GetStore() string
GetStore returns the Store field if non-nil, zero value otherwise.
GetStoreOk
func (o *CartOpen) GetStoreOk() (*string, bool)
GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStore
func (o *CartOpen) SetStore(v string)
SetStore sets Store field to given value.
HasStore
func (o *CartOpen) HasStore() bool
HasStore returns a boolean if a field has been set.
GetUser
func (o *CartOpen) GetUser() string
GetUser returns the User field if non-nil, zero value otherwise.
GetUserOk
func (o *CartOpen) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUser
func (o *CartOpen) SetUser(v string)
SetUser sets User field to given value.
HasUser
func (o *CartOpen) HasUser() bool
HasUser returns a boolean if a field has been set.