Sha256: 7303d2b66dff89c28e8952b5f8ff5df6b507011b9202d849d6b3281d3660abae

Contents?: true

Size: 550 Bytes

Versions: 2

Compression:

Stored size: 550 Bytes

Contents

# PCPServerSDK::OrderItem

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **id** | **String** | Id of the item from the ShoppingCart. The id will be returned in the response from create Checkout request. |  |
| **quantity** | **Integer** | Quantity of the specific item. Must be greater than zero.  Note: Must not be all spaces or all zeros  |  |

## Example

```ruby
require 'PCP-server-Ruby-SDK'

instance = PCPServerSDK::OrderItem.new(
  id: 4f0c512e-f12c-11ec-8ea0-0242ac120002,
  quantity: 1
)
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pcp-server-ruby-sdk-0.0.6 docs/OrderItem.md
pcp-server-ruby-sdk-0.1.0 docs/OrderItem.md