TB.One - Orders

type: incoming-configuration

identifier: get-tradebyte-orders

description: Subscribe Orders from TB.One

prototype: http-subscriber

client: tradebyte

uri: /orders/

method: get

payloadType: plain

prototype: xml


TradeByte

type: http-client

identifier: tradebyte

prototype: base-uri

prototype: logger

formatter: full

prototype: basic


TB.One - Order - Brancher

type: list-transformer

identifier: tbone-order-brancher

description: TB.One - Order - Brancher

prototype: chain

prototype: conditional

prototype: value-condition

prototype: pattern

prototype: empty

prototype: brancher

entityType: tbone-order-schemaorg

prototype: data

prototype: pattern-move

prototype: not-empty

prototype: type-setter

prototype: key-filter


TB.One - Order (Schema.org)

type: entity

identifier: tbone-order-schemaorg

description: TB.One - Order (Schema.org)


name: TB.One - Order - Map to Schema.org Standard Entity

prototype: pattern-copy

prototype: value-mapper

prototype: dictionary-map

map: zade Zalando

map: zadk Zalando

map: zafi Zalando

map: zase Zalando

map: lade Limango

map: mydk MyToys

comparator: equals

map: zade EUR

map: zafi EUR

map: lade EUR

map: gala EUR

map: mydk EUR

map: zase SEK

map: zadk DKK

prototype: list-mapper

prototype: list-extend-with

@type: Order

@type: Person

@type: Invoice

@type: PostalAddress

prototype: value-setter

key: orderStatus

value: APPROVED


name: TB.One - Order - Map Order Items to Schema.org Standard Entity

prototype: chain

prototype: node

prototype: list-inherit-from

@type: OrderItem

sku: &{SKU}

@type: Product

@type: Offer

@type: PriceSpecification

productID: &{EAN}

orderQuantity: &{QUANTITY}

prototype: operator

operator: subtraction

prototype: format-number

prototype: cast-float

prototype: list-intersect-keys

pattern: orderedItem

prototype: key

root: orderedItem


TB.One - Order - Clean Up Payload

identifier: tbone-order-filter-keys

description: TB.One - Order - Clean Up Payload

prototype: data

prototype: serialize

prototype: json


TB.One - Order - Filter Processed Order

identifier: tbone-order-filter-processed-order

description: TB.One - Order - Filter Processed Order

prototype: stored-identity-filter

storage: tbone-processed-orders


TB.One - Processed Orders

type: storage

identifier: tbone-processed-orders

description: TB.One - Processed Orders

prototype: directory

path: tbone-processed-orders