Name | Type | Description |
---|---|---|
__typename | <const>'GraycoreGuestOrder' | |
id | faker.datatype.uuid() | |
number | faker.datatype.uuid() | |
faker.internet.email() | ||
order_date | faker.date.past().toString() | |
status | faker.random.word() | |
carrier | faker.random.word() | |
shipping_method | faker.random.word() | |
total | this.totalFactory.create() | |
items | this.itemFactory.createMany(faker.datatype.number({ min: 1, max: 5 })) | |
billing_address | this.addressFactory.create() | |
shipping_address | this.addressFactory.create() | |
shipments | this.shipmentFactory.createMany(faker.datatype.number({ min: 1, max: 3 })) | |
payment_methods | this.paymentFactory.createMany(faker.datatype.number({ min: 1, max: 3 })) | |
invoices | this.invoiceFactory.createMany(faker.datatype.number({ min: 1, max: 3 })) | |
credit_memos | this.creditFactory.createMany(faker.datatype.number({ min: 1, max: 3 })) |