DiscountCampaign

Extends \MercadoPago\Entity

discount Campaign class

RestMethod

(resource="/v1/discount_campaigns", method="read")

RequestParam

(param="access_token")

package

Default

Methods

read

read(array $options = array(), array $params = array()) : mixed|null
static
Throws
\Exception

Arguments

$options

array

$params

array

Response

mixed|null

Properties

id

id : integer
Attribute

(primaryKey = true)

var

Type(s)

integer

name

name : string
Attribute

()

var

Type(s)

string

percent_off

percent_off : float
Attribute

()

var

Type(s)

float

amount_off

amount_off : float
Attribute

()

var

Type(s)

float

coupon_amount

coupon_amount : float
Attribute

()

var

Type(s)

float

currency_id

currency_id : string
Attribute

()

var

Type(s)

string