Sha256: fe3a6eb5c806ce27b29ecdb48980495b81d4cb3ec87197776351dff37acb5e77

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 KB

Contents

# PCPServerSDK::OrderLineDetailsInput

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **product_code** | **String** | Product or UPC Code | [optional] |
| **product_price** | **Integer** | The price of one unit of the product, the value should be zero or greater. |  |
| **product_type** | [**ProductType**](ProductType.md) |  | [optional] |
| **quantity** | **Integer** | Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zeros |  |
| **tax_amount** | **Integer** | Tax on the line item, with the last two digits implied as decimal places | [optional] |
| **product_url** | **String** | URL of the product in shop.   Used for PAYONE Buy Now, Pay Later (BNPL). | [optional] |
| **product_image_url** | **String** | URL of a product image.   Used for PAYONE Buy Now, Pay Later (BNPL). | [optional] |
| **product_category_path** | **String** | Category path of the item.   Used for PAYONE Buy Now, Pay Later (BNPL). | [optional] |
| **merchant_shop_delivery_reference** | **String** | Optional parameter to define the delivery shop or touchpoint where an item has been collected (e.g. for Click & Collect or Click & Reserve). | [optional] |

## Example

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

instance = PCPServerSDK::OrderLineDetailsInput.new(
  product_code: ASP01,
  product_price: 480,
  product_type: null,
  quantity: 1,
  tax_amount: 0,
  product_url: https://shop.url/watches/watch01,
  product_image_url: https://shop.url/watches/watch01.jpg,
  product_category_path: Watches > Smartwatches,
  merchant_shop_delivery_reference: Store-12345
)
```

Version data entries

2 entries across 2 versions & 1 rubygems

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