forked from LiveCarta/PayPal-PHP-Server-SDK
2.0.0 Release (#58)
* Automated commit message * Automated commit message * add changelog --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
This commit is contained in:
59
doc/models/update-pricing-scheme.md
Normal file
59
doc/models/update-pricing-scheme.md
Normal file
@@ -0,0 +1,59 @@
|
||||
|
||||
# Update Pricing Scheme
|
||||
|
||||
The update pricing scheme request details.
|
||||
|
||||
## Structure
|
||||
|
||||
`UpdatePricingScheme`
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Tags | Description | Getter | Setter |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `billingCycleSequence` | `int` | Required | The billing cycle sequence.<br><br>**Constraints**: `>= 1`, `<= 99` | getBillingCycleSequence(): int | setBillingCycleSequence(int billingCycleSequence): void |
|
||||
| `pricingScheme` | [`SubscriptionPricingScheme`](../../doc/models/subscription-pricing-scheme.md) | Required | The pricing scheme details. | getPricingScheme(): SubscriptionPricingScheme | setPricingScheme(SubscriptionPricingScheme pricingScheme): void |
|
||||
|
||||
## Example (as JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"billing_cycle_sequence": 99,
|
||||
"pricing_scheme": {
|
||||
"version": 10,
|
||||
"fixed_price": {
|
||||
"currency_code": "currency_code4",
|
||||
"value": "value0"
|
||||
},
|
||||
"pricing_model": "VOLUME",
|
||||
"tiers": [
|
||||
{
|
||||
"starting_quantity": "starting_quantity8",
|
||||
"ending_quantity": "ending_quantity6",
|
||||
"amount": {
|
||||
"currency_code": "currency_code6",
|
||||
"value": "value0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"starting_quantity": "starting_quantity8",
|
||||
"ending_quantity": "ending_quantity6",
|
||||
"amount": {
|
||||
"currency_code": "currency_code6",
|
||||
"value": "value0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"starting_quantity": "starting_quantity8",
|
||||
"ending_quantity": "ending_quantity6",
|
||||
"amount": {
|
||||
"currency_code": "currency_code6",
|
||||
"value": "value0"
|
||||
}
|
||||
}
|
||||
],
|
||||
"create_time": "create_time4"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user