@heyframe/composables
Version:
HeyFrame Frontends composables for Vue
1,152 lines (1,150 loc) • 42.1 kB
text/typescript
const Order = {
apiAlias: "order-route-response-struct",
orders: {
elements: [
{
extensions: {
foreignKeys: {
subscriptionId: null,
apiAlias: "order_foreign_keys_extension",
},
search: {
extensions: [],
_uniqueIdentifier: null,
translated: [],
autoIncrement: 19615,
orderNumber: "28118",
},
},
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2023-12-14T12:00:18.508+00:00",
updatedAt: "2024-05-16T17:51:53.125+00:00",
orderNumber: "28118",
currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca",
currencyFactor: 1,
salesChannelId: "98432def39fc4624b33213a56b8c944d",
billingAddressId: "018c6832f19a7348be5d974fc4d6c6e1",
billingAddressVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
orderDateTime: "2023-12-14T12:00:18.330+00:00",
orderDate: "2023-12-14T00:00:00.000+00:00",
price: {
netPrice: 81.3,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
positionPrice: 100,
taxStatus: "gross",
rawTotal: 100,
apiAlias: "cart_price",
},
amountTotal: 100,
amountNet: 81.3,
positionPrice: 100,
taxStatus: "gross",
shippingCosts: {
unitPrice: 0,
quantity: 1,
totalPrice: 0,
calculatedTaxes: [],
taxRules: [],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
shippingTotal: 0,
orderCustomer: {
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2023-12-14T12:00:18.413+00:00",
updatedAt: null,
email: "m.danilowicz@heyframe.com",
salutationId: "d5e543063dd642b48ef94b02d68e5785",
firstName: "54maciej",
lastName: "maciej9",
title: null,
vatIds: null,
company: null,
customerNumber: "10014",
salutation: null,
customFields: null,
id: "018c6832f1b6721e9f22ac71dda92b99",
apiAlias: "order_customer",
},
currency: null,
languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
language: null,
addresses: [
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2023-12-14T12:00:18.437+00:00",
updatedAt: null,
countryId: "28bbf3f6e79145ba8ffc91c409690ab8",
countryStateId: null,
firstName: "111",
lastName: "111",
street: "sdsd",
zipcode: "12-323",
city: "dsds",
company: null,
department: null,
title: null,
vatId: null,
phoneNumber: null,
additionalAddressLine1: null,
additionalAddressLine2: null,
country: null,
countryState: null,
salutation: null,
customFields: null,
id: "018c6832f19a7348be5d974fc4d6c6e1",
apiAlias: "order_address",
},
],
billingAddress: {
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2023-12-14T12:00:18.437+00:00",
updatedAt: null,
countryId: "28bbf3f6e79145ba8ffc91c409690ab8",
countryStateId: null,
firstName: "111",
lastName: "111",
street: "sdsd",
zipcode: "12-323",
city: "dsds",
company: null,
department: null,
title: null,
vatId: null,
phoneNumber: null,
additionalAddressLine1: null,
additionalAddressLine2: null,
country: null,
countryState: null,
salutation: null,
customFields: null,
id: "018c6832f19a7348be5d974fc4d6c6e1",
apiAlias: "order_address",
},
deliveries: [],
lineItems: [
{
extensions: {
foreignKeys: {
stateId: null,
apiAlias: "order_line_item_foreign_keys_extension",
},
},
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2023-12-14T12:00:18.506+00:00",
updatedAt: null,
orderId: "018c6832f1a1731db276839b3f251fc2",
identifier: "3c40bbdab5a94212b7834f879ab34539",
referencedId: "3c40bbdab5a94212b7834f879ab34539",
productId: "3c40bbdab5a94212b7834f879ab34539",
quantity: 1,
unitPrice: 100,
totalPrice: 100,
label: "Frontends Ticket",
description: null,
good: true,
removable: true,
coverId: "69283dd3e92045259b24b5ad0a31abb6",
stackable: true,
position: 1,
priceDefinition: {
price: 100,
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
quantity: 1,
isCalculated: true,
referencePriceDefinition: null,
listPrice: null,
regulationPrice: null,
type: "quantity",
apiAlias: "cart_price_quantity",
},
payload: {
isNew: false,
stock: 997,
taxId: "a5da76b447db4d0aba62e6512dadf45b",
tagIds: null,
options: [],
features: [],
parentId: null,
createdAt: "2023-02-07 10:32:33.501",
optionIds: null,
streamIds: [
"1318833f46df457981763b94179d9ef0",
"5675448d6b3a4dd2a659d31a3dde74da",
],
isCloseout: true,
categoryIds: [
"525abe8981214bd2ba94fd33942333ec",
"bda4b60e845240b2b9d6b60e71196e14",
"e5320bfe6ff04505a442fb5843664947",
],
propertyIds: null,
releaseDate: null,
customFields: [],
productNumber: "SW20009",
manufacturerId: "7c46da8d52da4909aeb7bd9105028bc1",
purchasePrices:
"{\u0022extensions\u0022:[],\u0022currencyId\u0022:\u0022b7d2554b0ce847cd82f3ac9bd1c0dfca\u0022,\u0022net\u0022:0,\u0022gross\u0022:0,\u0022linked\u0022:true,\u0022listPrice\u0022:null,\u0022percentage\u0022:null,\u0022regulationPrice\u0022:null}",
markAsTopseller: null,
},
parentId: null,
parent: null,
type: "product",
orderDeliveryPositions: null,
cover: {
translated: {
alt: null,
title: null,
customFields: {},
},
createdAt: "2023-02-07T10:32:29.955+00:00",
updatedAt: "2023-02-07T10:32:30.167+00:00",
mimeType: "image/png",
fileExtension: "png",
fileSize: 63227,
title: null,
metaData: {
hash: "4a6e215d0c33e7c037553fa1b861501b",
type: 3,
width: 1799,
height: 1028,
},
uploadedAt: "2023-02-07T10:32:30.161+00:00",
alt: null,
url: "https://cdn.heyframe.store/a/B/m/pPkDE/media/0f/3a/c6/1675765950/digital-ticket.png?1675765950",
fileName: "digital-ticket",
translations: null,
thumbnails: [
{
translated: [],
createdAt: "2023-02-07T10:32:31.126+00:00",
updatedAt: null,
width: 800,
path: "thumbnail/0f/3a/c6/1675765950/digital-ticket_800x800.png",
height: 800,
url: "https://cdn.heyframe.store/a/B/m/pPkDE/thumbnail/0f/3a/c6/1675765950/digital-ticket_800x800.png?1675765951",
mediaId: "69283dd3e92045259b24b5ad0a31abb6",
customFields: null,
id: "28607fc76ad44b6f9ebe0d0ec7749ebd",
apiAlias: "media_thumbnail",
},
{
translated: [],
createdAt: "2023-02-07T10:32:31.126+00:00",
updatedAt: null,
width: 1920,
path: "thumbnail/0f/3a/c6/1675765950/digital-ticket_1920x1920.png",
height: 1920,
url: "https://cdn.heyframe.store/a/B/m/pPkDE/thumbnail/0f/3a/c6/1675765950/digital-ticket_1920x1920.png?1675765951",
mediaId: "69283dd3e92045259b24b5ad0a31abb6",
customFields: null,
id: "534abbbbd0cc47779cd94be6aaa52612",
apiAlias: "media_thumbnail",
},
{
translated: [],
createdAt: "2023-02-07T10:32:31.126+00:00",
updatedAt: null,
width: 400,
path: "thumbnail/0f/3a/c6/1675765950/digital-ticket_400x400.png",
height: 400,
url: "https://cdn.heyframe.store/a/B/m/pPkDE/thumbnail/0f/3a/c6/1675765950/digital-ticket_400x400.png?1675765951",
mediaId: "69283dd3e92045259b24b5ad0a31abb6",
customFields: null,
id: "601651ae48054db49d15091d709ac9f1",
apiAlias: "media_thumbnail",
},
],
hasFile: true,
private: false,
path: "media/0f/3a/c6/1675765950/digital-ticket.png",
config: null,
customFields: null,
id: "69283dd3e92045259b24b5ad0a31abb6",
apiAlias: "media",
},
children: null,
states: ["is-download"],
downloads: [
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2023-12-14T12:00:18.504+00:00",
updatedAt: null,
orderLineItemId: "018c6832f19a7348be5d974fc4c4ff08",
orderLineItemVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
mediaId: "ec366cdaafd44d3fb0647c4438d5c255",
position: 0,
media: {
translated: {
alt: null,
title: null,
customFields: {},
},
createdAt: "2023-02-07T10:31:32.634+00:00",
updatedAt: "2023-02-07T10:31:33.038+00:00",
mimeType: "image/png",
fileExtension: "png",
fileSize: 63227,
title: null,
metaData: {
hash: "4a6e215d0c33e7c037553fa1b861501b",
type: 3,
width: 1799,
height: 1028,
},
uploadedAt: "2023-02-07T10:31:32.996+00:00",
alt: null,
url: "",
fileName: "digital-ticket",
translations: null,
thumbnails: [],
hasFile: true,
private: true,
path: "media/b4/f5/56/1675765892/digital-ticket.png",
config: null,
customFields: null,
id: "ec366cdaafd44d3fb0647c4438d5c255",
apiAlias: "media",
},
orderLineItem: null,
accessGranted: false,
customFields: null,
id: "018c6832f1b6721e9f22ac71dd360e4a",
apiAlias: "order_line_item_download",
},
],
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
productVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
parentVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
customFields: null,
id: "018c6832f19a7348be5d974fc4c4ff08",
apiAlias: "order_line_item",
},
],
transactions: [
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-05-16T17:51:53.124+00:00",
updatedAt: null,
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "754b5604da514b6d9845385aafd1ed19",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Invoice",
distinguishableName: "Invoice",
description:
"Payment by invoice. HeyFrame provides automatic invoicing for all customers on orders after the first. This is to avoid defaults on payment.",
customFields: {},
},
createdAt: "2020-08-06T06:23:31.916+00:00",
updatedAt: "2023-09-05T10:51:14.767+00:00",
name: "Invoice",
distinguishableName: "Invoice",
description:
"Payment by invoice. HeyFrame provides automatic invoicing for all customers on orders after the first. This is to avoid defaults on payment.",
position: 38,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: null,
media: null,
shortName: "invoice_payment",
technicalName: "payment_invoicepayment",
synchronous: true,
asynchronous: false,
prepared: false,
refundable: false,
recurring: true,
customFields: null,
id: "754b5604da514b6d9845385aafd1ed19",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "de742ffb9f25433fb5058c31ea892d84",
captures: null,
customFields: null,
id: "018f82882ae772a9957bf1aef35879bb",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-05-16T17:50:39.829+00:00",
updatedAt: "2024-05-16T17:51:52.664+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "b7f6cd663b774e9485e33ed1a776c8d9",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Cash on delivery",
distinguishableName: "Cash on delivery",
description: "Payment upon receipt of goods.",
customFields: {},
},
createdAt: "2020-08-06T06:23:31.928+00:00",
updatedAt: "2023-09-05T10:51:16.176+00:00",
name: "Cash on delivery",
distinguishableName: "Cash on delivery",
description: "Payment upon receipt of goods.",
position: 36,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: null,
media: null,
shortName: "cash_payment",
technicalName: "payment_cashpayment",
synchronous: true,
asynchronous: false,
prepared: false,
refundable: false,
recurring: false,
customFields: null,
id: "b7f6cd663b774e9485e33ed1a776c8d9",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018f82870c9a73a49ba3c3d0c506e706",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-05-16T16:05:45.992+00:00",
updatedAt: "2024-05-16T17:50:39.351+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "754b5604da514b6d9845385aafd1ed19",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Invoice",
distinguishableName: "Invoice",
description:
"Payment by invoice. HeyFrame provides automatic invoicing for all customers on orders after the first. This is to avoid defaults on payment.",
customFields: {},
},
createdAt: "2020-08-06T06:23:31.916+00:00",
updatedAt: "2023-09-05T10:51:14.767+00:00",
name: "Invoice",
distinguishableName: "Invoice",
description:
"Payment by invoice. HeyFrame provides automatic invoicing for all customers on orders after the first. This is to avoid defaults on payment.",
position: 38,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: null,
media: null,
shortName: "invoice_payment",
technicalName: "payment_invoicepayment",
synchronous: true,
asynchronous: false,
prepared: false,
refundable: false,
recurring: true,
customFields: null,
id: "754b5604da514b6d9845385aafd1ed19",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018f82270338738ca1e07b7812437a59",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-04-17T18:00:30.169+00:00",
updatedAt: "2024-05-16T16:05:45.325+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "018a643be20e70cb9586f21f8e570045",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Credit/Debit card",
distinguishableName: "Credit/Debit card | Mollie Payments App",
description: null,
customFields: {},
},
createdAt: "2023-09-05T07:26:00.740+00:00",
updatedAt: "2024-05-17T08:48:34.832+00:00",
name: "Credit/Debit card",
distinguishableName: "Credit/Debit card | Mollie Payments App",
description: null,
position: 1,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: "018a643bd4de73f3906c333b2db237e9",
media: null,
shortName: "mollie_payments_app_mollie_creditcard",
technicalName: "payment_MolliePaymentsApp_mollie_creditcard",
synchronous: false,
asynchronous: true,
prepared: false,
refundable: false,
recurring: false,
customFields: null,
id: "018a643be20e70cb9586f21f8e570045",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018eed37a26d7073a5c6a5ec9a5c6678",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-04-17T17:25:38.375+00:00",
updatedAt: "2024-04-17T18:00:29.618+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "b7f6cd663b774e9485e33ed1a776c8d9",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Cash on delivery",
distinguishableName: "Cash on delivery",
description: "Payment upon receipt of goods.",
customFields: {},
},
createdAt: "2020-08-06T06:23:31.928+00:00",
updatedAt: "2023-09-05T10:51:16.176+00:00",
name: "Cash on delivery",
distinguishableName: "Cash on delivery",
description: "Payment upon receipt of goods.",
position: 36,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: null,
media: null,
shortName: "cash_payment",
technicalName: "payment_cashpayment",
synchronous: true,
asynchronous: false,
prepared: false,
refundable: false,
recurring: false,
customFields: null,
id: "b7f6cd663b774e9485e33ed1a776c8d9",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018eed17b78b701195f71b7f2f2f8fc1",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-04-17T17:25:35.406+00:00",
updatedAt: "2024-04-17T17:25:38.005+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "018a643be20e70cb9586f21f8e570045",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Credit/Debit card",
distinguishableName: "Credit/Debit card | Mollie Payments App",
description: null,
customFields: {},
},
createdAt: "2023-09-05T07:26:00.740+00:00",
updatedAt: "2024-05-17T08:48:34.832+00:00",
name: "Credit/Debit card",
distinguishableName: "Credit/Debit card | Mollie Payments App",
description: null,
position: 1,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: "018a643bd4de73f3906c333b2db237e9",
media: null,
shortName: "mollie_payments_app_mollie_creditcard",
technicalName: "payment_MolliePaymentsApp_mollie_creditcard",
synchronous: false,
asynchronous: true,
prepared: false,
refundable: false,
recurring: false,
customFields: null,
id: "018a643be20e70cb9586f21f8e570045",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018eed17ac0270bda7820389497f6830",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-04-17T17:25:31.489+00:00",
updatedAt: "2024-04-17T17:25:35.098+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "018da728452a737f87294f3b55216bd4",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Pay online",
distinguishableName: "Pay online | Stripe",
description:
"This payment method requires forwarding to payment provider.",
customFields: {},
},
createdAt: "2024-02-14T10:27:30.734+00:00",
updatedAt: "2024-05-17T08:48:34.898+00:00",
name: "Pay online",
distinguishableName: "Pay online | Stripe",
description:
"This payment method requires forwarding to payment provider.",
position: 1,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: null,
media: null,
shortName: "stripe_payments_app_stripe_payment",
technicalName: "payment_StripePaymentsApp_stripePayment",
synchronous: false,
asynchronous: true,
prepared: false,
refundable: true,
recurring: false,
customFields: null,
id: "018da728452a737f87294f3b55216bd4",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018eed179c9771a686ad5e31b1e169b1",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-04-17T13:46:26.119+00:00",
updatedAt: "2024-04-17T17:25:30.984+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "b7f6cd663b774e9485e33ed1a776c8d9",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Cash on delivery",
distinguishableName: "Cash on delivery",
description: "Payment upon receipt of goods.",
customFields: {},
},
createdAt: "2020-08-06T06:23:31.928+00:00",
updatedAt: "2023-09-05T10:51:16.176+00:00",
name: "Cash on delivery",
distinguishableName: "Cash on delivery",
description: "Payment upon receipt of goods.",
position: 36,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: null,
media: null,
shortName: "cash_payment",
technicalName: "payment_cashpayment",
synchronous: true,
asynchronous: false,
prepared: false,
refundable: false,
recurring: false,
customFields: null,
id: "b7f6cd663b774e9485e33ed1a776c8d9",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018eec4f0782727c95cd1fbe9094c891",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-04-17T13:38:13.370+00:00",
updatedAt: "2024-04-17T13:46:25.763+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "018da728452a737f87294f3b55216bd4",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Pay online",
distinguishableName: "Pay online | Stripe",
description:
"This payment method requires forwarding to payment provider.",
customFields: {},
},
createdAt: "2024-02-14T10:27:30.734+00:00",
updatedAt: "2024-05-17T08:48:34.898+00:00",
name: "Pay online",
distinguishableName: "Pay online | Stripe",
description:
"This payment method requires forwarding to payment provider.",
position: 1,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: null,
media: null,
shortName: "stripe_payments_app_stripe_payment",
technicalName: "payment_StripePaymentsApp_stripePayment",
synchronous: false,
asynchronous: true,
prepared: false,
refundable: true,
recurring: false,
customFields: null,
id: "018da728452a737f87294f3b55216bd4",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018eec4782bf70bba40c15037269e0f4",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2024-04-17T13:37:41.657+00:00",
updatedAt: "2024-04-17T13:38:12.979+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "018a643be20e70cb9586f21f8e570045",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Credit/Debit card",
distinguishableName: "Credit/Debit card | Mollie Payments App",
description: null,
customFields: {},
},
createdAt: "2023-09-05T07:26:00.740+00:00",
updatedAt: "2024-05-17T08:48:34.832+00:00",
name: "Credit/Debit card",
distinguishableName: "Credit/Debit card | Mollie Payments App",
description: null,
position: 1,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: "018a643bd4de73f3906c333b2db237e9",
media: null,
shortName: "mollie_payments_app_mollie_creditcard",
technicalName: "payment_MolliePaymentsApp_mollie_creditcard",
synchronous: false,
asynchronous: true,
prepared: false,
refundable: false,
recurring: false,
customFields: null,
id: "018a643be20e70cb9586f21f8e570045",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018eec4706da71869b74d05f6bd37a2f",
apiAlias: "order_transaction",
},
{
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
translated: [],
createdAt: "2023-12-14T12:00:18.508+00:00",
updatedAt: "2024-04-17T13:37:41.133+00:00",
orderId: "018c6832f1a1731db276839b3f251fc2",
orderVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
paymentMethodId: "b7f6cd663b774e9485e33ed1a776c8d9",
amount: {
unitPrice: 100,
quantity: 1,
totalPrice: 100,
calculatedTaxes: [
{
tax: 18.7,
taxRate: 23,
price: 100,
apiAlias: "cart_tax_calculated",
},
],
taxRules: [
{
taxRate: 23,
percentage: 100,
apiAlias: "cart_tax_rule",
},
],
referencePrice: null,
listPrice: null,
regulationPrice: null,
apiAlias: "calculated_price",
},
paymentMethod: {
translated: {
name: "Cash on delivery",
distinguishableName: "Cash on delivery",
description: "Payment upon receipt of goods.",
customFields: {},
},
createdAt: "2020-08-06T06:23:31.928+00:00",
updatedAt: "2023-09-05T10:51:16.176+00:00",
name: "Cash on delivery",
distinguishableName: "Cash on delivery",
description: "Payment upon receipt of goods.",
position: 36,
active: true,
afterOrderEnabled: true,
translations: null,
mediaId: null,
media: null,
shortName: "cash_payment",
technicalName: "payment_cashpayment",
synchronous: true,
asynchronous: false,
prepared: false,
refundable: false,
recurring: false,
customFields: null,
id: "b7f6cd663b774e9485e33ed1a776c8d9",
apiAlias: "payment_method",
},
stateMachineState: null,
stateId: "d21324f87df0450d99d6275b716efa45",
captures: null,
customFields: null,
id: "018c6832f1b77155b08d2e54d525cc4f",
apiAlias: "order_transaction",
},
],
deepLinkCode: "VNHzUJi2ioujVWdnCeYzExOihpHcxX3S",
stateMachineState: {
translated: {
name: "Open",
customFields: {},
},
createdAt: "2020-08-06T06:23:32.791+00:00",
updatedAt: null,
name: "Open",
technicalName: "open",
customFields: null,
apiAlias: "state_machine_state",
},
documents: [],
tags: null,
affiliateCode: null,
campaignCode: null,
customerComment: null,
createdById: null,
updatedById: null,
source: null,
customFields: null,
id: "018c6832f1a1731db276839b3f251fc2",
apiAlias: "order",
},
],
aggregations: [],
page: 1,
limit: 100,
entity: "order",
total: 1,
states: [],
apiAlias: "dal_entity_search_result",
},
paymentChangeable: {
"018c6832f1a1731db276839b3f251fc2": true,
"123-test": true,
},
};
export default Order;