Constructor: restrictionReason
Restriction reason.
See here » for the full flow to use for restricted or age-gated content.
Attributes:
| Name | Type | Required | Description | 
|---|---|---|---|
| platform | string | Yes | Platform identifier (ios, android, wp, all, etc.), can be concatenated with a dash as separator (android-ios, ios-wp, etc) | 
| reason | string | Yes | Restriction reason (porno, terms, etc.). Ignore this restriction reason if it is contained in the ignore_restriction_reasons » client configuration parameter. | 
| text | string | Yes | Error message to be shown to the user | 
Type: RestrictionReason
Example:
 $restrictionReason = ['_' => 'restrictionReason', 'platform' => 'string', 'reason' => 'string', 'text' => 'string'];