Skip to content

Commit

Permalink
Add autopay to quotes (#1814)
Browse files Browse the repository at this point in the history
* Add autopay to quotes

* Apply code review suggestions

* Apply code review suggestions
  • Loading branch information
swilczynski authored Mar 1, 2024
1 parent 0899a1d commit 1d27c68
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions openapi/components/schemas/QuoteChangeOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,14 @@ properties:
- 'number'
- 'null'
format: double
autopay:
type:
- 'boolean'
- 'null'
description: |-
Specifies if payment attempts for the related subscription are made automatically.
If autopay is enabled, the payment is retrieved from the customer on the renewal date using the payment instrument that is set at `paymentInstrumentId`,
or the default payment instrument on the subscription.
paymentTerms:
description: Payment terms for the customer which are displayed on the quote.
type: string
Expand Down
7 changes: 7 additions & 0 deletions openapi/components/schemas/QuoteCreateOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,13 @@ properties:
- 'number'
- 'null'
format: double
autopay:
type: boolean
default: false
description: |-
Specifies if payment attempts for the related subscription are made automatically.
If autopay is enabled, the payment is retrieved from the customer on the renewal date using the payment instrument that is set at `paymentInstrumentId`,
or the default payment instrument on the subscription.
paymentTerms:
description: Payment terms for the customer which are displayed on the quote.
type: string
Expand Down
8 changes: 8 additions & 0 deletions openapi/components/schemas/QuoteReactivateOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,14 @@ properties:
- 'number'
- 'null'
format: double
autopay:
type:
- 'boolean'
- 'null'
description: |-
Specifies if payment attempts for the related subscription are made automatically.
If autopay is enabled, the payment is retrieved from the customer on the renewal date using the payment instrument that is set at `paymentInstrumentId`,
or the default payment instrument on the subscription.
paymentTerms:
description: Payment terms for the customer which are displayed on the quote.
type: string
Expand Down

0 comments on commit 1d27c68

Please sign in to comment.