diff --git a/json/CheckoutService-v67.json b/json/CheckoutService-v67.json index b2b3164..06d95aa 100644 --- a/json/CheckoutService-v67.json +++ b/json/CheckoutService-v67.json @@ -6411,6 +6411,10 @@ "format" : "int64", "type" : "integer" }, + "type" : { + "description" : "The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).\n\nPossible values:\n* **roundup**: a donation where the original transaction amount is rounded up as a donation.\n* **fixedAmounts**: a donation where you show fixed donation amounts that the shopper can select from.", + "type" : "string" + }, "values" : { "description" : "The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**.", "items" : { @@ -6422,7 +6426,8 @@ }, "required" : [ "currency", - "donationType" + "donationType", + "type" ], "type" : "object" }, @@ -13324,6 +13329,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "fixedAmounts", "donationType" : "fixedAmounts", "values" : [ 100, @@ -13344,6 +13350,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "roundup", "donationType" : "roundup", "maxRoundupAmount" : 100 }, diff --git a/json/CheckoutService-v68.json b/json/CheckoutService-v68.json index d14d3f8..109f9b9 100644 --- a/json/CheckoutService-v68.json +++ b/json/CheckoutService-v68.json @@ -7521,6 +7521,10 @@ "format" : "int64", "type" : "integer" }, + "type" : { + "description" : "The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).\n\nPossible values:\n* **roundup**: a donation where the original transaction amount is rounded up as a donation.\n* **fixedAmounts**: a donation where you show fixed donation amounts that the shopper can select from.", + "type" : "string" + }, "values" : { "description" : "The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**.", "items" : { @@ -7532,7 +7536,8 @@ }, "required" : [ "currency", - "donationType" + "donationType", + "type" ], "type" : "object" }, @@ -15149,6 +15154,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "fixedAmounts", "donationType" : "fixedAmounts", "values" : [ 100, @@ -15169,6 +15175,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "roundup", "donationType" : "roundup", "maxRoundupAmount" : 100 }, diff --git a/json/CheckoutService-v69.json b/json/CheckoutService-v69.json index 9ef09cf..3364f88 100644 --- a/json/CheckoutService-v69.json +++ b/json/CheckoutService-v69.json @@ -7645,6 +7645,10 @@ "format" : "int64", "type" : "integer" }, + "type" : { + "description" : "The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).\n\nPossible values:\n* **roundup**: a donation where the original transaction amount is rounded up as a donation.\n* **fixedAmounts**: a donation where you show fixed donation amounts that the shopper can select from.", + "type" : "string" + }, "values" : { "description" : "The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**.", "items" : { @@ -7656,7 +7660,8 @@ }, "required" : [ "currency", - "donationType" + "donationType", + "type" ], "type" : "object" }, @@ -15428,6 +15433,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "fixedAmounts", "donationType" : "fixedAmounts", "values" : [ 100, @@ -15448,6 +15454,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "roundup", "donationType" : "roundup", "maxRoundupAmount" : 100 }, diff --git a/json/CheckoutService-v70.json b/json/CheckoutService-v70.json index 9b14b2a..6abf101 100644 --- a/json/CheckoutService-v70.json +++ b/json/CheckoutService-v70.json @@ -7797,6 +7797,10 @@ "format" : "int64", "type" : "integer" }, + "type" : { + "description" : "The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).\n\nPossible values:\n* **roundup**: a donation where the original transaction amount is rounded up as a donation.\n* **fixedAmounts**: a donation where you show fixed donation amounts that the shopper can select from.", + "type" : "string" + }, "values" : { "description" : "The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**.", "items" : { @@ -7808,7 +7812,8 @@ }, "required" : [ "currency", - "donationType" + "donationType", + "type" ], "type" : "object" }, @@ -15775,6 +15780,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "fixedAmounts", "donationType" : "fixedAmounts", "values" : [ 100, @@ -15795,6 +15801,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "roundup", "donationType" : "roundup", "maxRoundupAmount" : 100 }, diff --git a/json/CheckoutService-v71.json b/json/CheckoutService-v71.json index b886594..7a8fcf0 100644 --- a/json/CheckoutService-v71.json +++ b/json/CheckoutService-v71.json @@ -7797,6 +7797,10 @@ "format" : "int64", "type" : "integer" }, + "type" : { + "description" : "The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).\n\nPossible values:\n* **roundup**: a donation where the original transaction amount is rounded up as a donation.\n* **fixedAmounts**: a donation where you show fixed donation amounts that the shopper can select from.", + "type" : "string" + }, "values" : { "description" : "The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**.", "items" : { @@ -7808,7 +7812,8 @@ }, "required" : [ "currency", - "donationType" + "donationType", + "type" ], "type" : "object" }, @@ -15611,6 +15616,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "fixedAmounts", "donationType" : "fixedAmounts", "values" : [ 100, @@ -15631,6 +15637,7 @@ "campaignName" : "DONATION_CAMPAIGN_NAME", "donation" : { "currency" : "EUR", + "type" : "roundup", "donationType" : "roundup", "maxRoundupAmount" : 100 }, diff --git a/yaml/CheckoutService-v67.yaml b/yaml/CheckoutService-v67.yaml index fedd619..ad30125 100644 --- a/yaml/CheckoutService-v67.yaml +++ b/yaml/CheckoutService-v67.yaml @@ -5902,6 +5902,18 @@ components: a donation. This field is only present when `donationType` is **roundup**. format: int64 type: integer + type: + description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). + + + Possible values: + + * **roundup**: a donation where the original transaction amount is rounded + up as a donation. + + * **fixedAmounts**: a donation where you show fixed donation amounts that + the shopper can select from.' + type: string values: description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. @@ -5912,6 +5924,7 @@ components: required: - currency - donationType + - type type: object DonationCampaign: additionalProperties: false @@ -12778,6 +12791,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: fixedAmounts donationType: fixedAmounts values: - 100 @@ -12794,6 +12808,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: roundup donationType: roundup maxRoundupAmount: 100 nonprofitName: NONPROFIT_NAME diff --git a/yaml/CheckoutService-v68.yaml b/yaml/CheckoutService-v68.yaml index b8742fc..5b3c258 100644 --- a/yaml/CheckoutService-v68.yaml +++ b/yaml/CheckoutService-v68.yaml @@ -7098,6 +7098,18 @@ components: a donation. This field is only present when `donationType` is **roundup**. format: int64 type: integer + type: + description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). + + + Possible values: + + * **roundup**: a donation where the original transaction amount is rounded + up as a donation. + + * **fixedAmounts**: a donation where you show fixed donation amounts that + the shopper can select from.' + type: string values: description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. @@ -7108,6 +7120,7 @@ components: required: - currency - donationType + - type type: object DonationCampaign: additionalProperties: false @@ -14700,6 +14713,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: fixedAmounts donationType: fixedAmounts values: - 100 @@ -14716,6 +14730,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: roundup donationType: roundup maxRoundupAmount: 100 nonprofitName: NONPROFIT_NAME diff --git a/yaml/CheckoutService-v69.yaml b/yaml/CheckoutService-v69.yaml index f4980bf..6d376d7 100644 --- a/yaml/CheckoutService-v69.yaml +++ b/yaml/CheckoutService-v69.yaml @@ -7222,6 +7222,18 @@ components: a donation. This field is only present when `donationType` is **roundup**. format: int64 type: integer + type: + description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). + + + Possible values: + + * **roundup**: a donation where the original transaction amount is rounded + up as a donation. + + * **fixedAmounts**: a donation where you show fixed donation amounts that + the shopper can select from.' + type: string values: description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. @@ -7232,6 +7244,7 @@ components: required: - currency - donationType + - type type: object DonationCampaign: additionalProperties: false @@ -14997,6 +15010,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: fixedAmounts donationType: fixedAmounts values: - 100 @@ -15013,6 +15027,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: roundup donationType: roundup maxRoundupAmount: 100 nonprofitName: NONPROFIT_NAME diff --git a/yaml/CheckoutService-v70.yaml b/yaml/CheckoutService-v70.yaml index d07cfd0..2af59e9 100644 --- a/yaml/CheckoutService-v70.yaml +++ b/yaml/CheckoutService-v70.yaml @@ -7353,6 +7353,18 @@ components: a donation. This field is only present when `donationType` is **roundup**. format: int64 type: integer + type: + description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). + + + Possible values: + + * **roundup**: a donation where the original transaction amount is rounded + up as a donation. + + * **fixedAmounts**: a donation where you show fixed donation amounts that + the shopper can select from.' + type: string values: description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. @@ -7363,6 +7375,7 @@ components: required: - currency - donationType + - type type: object DonationCampaign: additionalProperties: false @@ -15324,6 +15337,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: fixedAmounts donationType: fixedAmounts values: - 100 @@ -15340,6 +15354,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: roundup donationType: roundup maxRoundupAmount: 100 nonprofitName: NONPROFIT_NAME diff --git a/yaml/CheckoutService-v71.yaml b/yaml/CheckoutService-v71.yaml index 768b508..0ae8671 100644 --- a/yaml/CheckoutService-v71.yaml +++ b/yaml/CheckoutService-v71.yaml @@ -7353,6 +7353,18 @@ components: a donation. This field is only present when `donationType` is **roundup**. format: int64 type: integer + type: + description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). + + + Possible values: + + * **roundup**: a donation where the original transaction amount is rounded + up as a donation. + + * **fixedAmounts**: a donation where you show fixed donation amounts that + the shopper can select from.' + type: string values: description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units). This field is only present when `donationType` is **fixedAmounts**. @@ -7363,6 +7375,7 @@ components: required: - currency - donationType + - type type: object DonationCampaign: additionalProperties: false @@ -15136,6 +15149,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: fixedAmounts donationType: fixedAmounts values: - 100 @@ -15152,6 +15166,7 @@ components: campaignName: DONATION_CAMPAIGN_NAME donation: currency: EUR + type: roundup donationType: roundup maxRoundupAmount: 100 nonprofitName: NONPROFIT_NAME