Skip to content

Commit d6754aa

Browse files
authored
Use new tipping options (ADV-19592) (#17)
Motivation ---- The new tipping options object should be used on the add update invoice Modifications ---- * Added new property to AddUpdateInvoiceRequest to use new property Result ---- tipping options are available on the request from the client sdk https://centeredge.atlassian.net/browse/ADV-19592
1 parent 742e5a5 commit d6754aa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

swagger.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@
583583
"properties": {
584584
"tipping_enabled": {
585585
"type": "boolean",
586+
"default": true,
586587
"description": "Enable or disables the popup window that requests gratuity"
587588
}
588589
},
@@ -993,6 +994,10 @@
993994
{ "$ref": "#/components/schemas/Customer" }
994995
]
995996
},
997+
"tippingOptions": {
998+
"description": "A set of options for tipping on invoices",
999+
"allOf": [{ "$ref": "#/components/schemas/TippingOptions" }]
1000+
},
9961001
"lines": {
9971002
"description": "A list of line items on the invoice. This field is only required if description is not passed in.",
9981003
"type": "array",

0 commit comments

Comments
 (0)