1
0
Files
PayPal-PHP-Server-SDK/doc/models/incentive-information.md
2025-11-06 20:07:39 +00:00

1.3 KiB

Incentive Information

The incentive details.

Structure

IncentiveInformation

Fields

Name Type Tags Description Getter Setter
incentiveDetails ?(IncentiveDetails[]) Optional An array of incentive details.

Constraints: Minimum Items: 1, Maximum Items: 32767
getIncentiveDetails(): ?array setIncentiveDetails(?array incentiveDetails): void

Example (as JSON)

{
  "incentive_details": [
    {
      "incentive_type": "incentive_type4",
      "incentive_code": "incentive_code0",
      "incentive_amount": {
        "currency_code": "currency_code4",
        "value": "value0"
      },
      "incentive_program_code": "incentive_program_code4"
    },
    {
      "incentive_type": "incentive_type4",
      "incentive_code": "incentive_code0",
      "incentive_amount": {
        "currency_code": "currency_code4",
        "value": "value0"
      },
      "incentive_program_code": "incentive_program_code4"
    },
    {
      "incentive_type": "incentive_type4",
      "incentive_code": "incentive_code0",
      "incentive_amount": {
        "currency_code": "currency_code4",
        "value": "value0"
      },
      "incentive_program_code": "incentive_program_code4"
    }
  ]
}