Preference

Extends \MercadoPago\Entity

Preference class

RestMethod

(resource="/checkout/preferences", method="create")

RestMethod

(resource="/checkout/preferences/:id", method="read")

RestMethod

(resource="/checkout/preferences/:id", method="update")

RequestParam

(param="access_token")

package

Default

Methods

Properties

id

id : string
Attribute

(primaryKey = true, type = "string", readOnly = true)

var

Type(s)

string

auto_return

auto_return : string
Attribute

()

var

Type(s)

string

back_urls

back_urls : object
Attribute

()

var

Type(s)

object

notification_url

notification_url : string
Attribute

(type = "string", maxLength = 500)

var

Type(s)

string

init_point

init_point : string
Attribute

(type = "string", readOnly = true)

var

Type(s)

string

sandbox_init_point

sandbox_init_point : string
Attribute

(type = "string", readOnly = true)

var

Type(s)

string

operation_type

operation_type : string
Attribute

(type = "string", readOnly = true)

var

Type(s)

string

additional_info

additional_info : string
Attribute

(type = "string", maxLength = 600)

var

Type(s)

string

external_reference

external_reference : string
Attribute

(type = "string", maxLength = 256)

var

Type(s)

string

expires

expires : boolean
Attribute

()

var

Type(s)

boolean

expiration_date_from

expiration_date_from : \DateTime
Attribute

(type = "date")

var

Type(s)

\DateTime

expiration_date_to

expiration_date_to : \DateTime
Attribute

(type = "date")

var

Type(s)

\DateTime

collector_id

collector_id : integer
Attribute

(type = "int", readOnly = true)

var

Type(s)

integer

client_id

client_id : integer
Attribute

(type = "int", readOnly = true)

var

Type(s)

integer

marktplace

marketplace : string
Attribute

(type = "string")

var

Type(s)

string

marketplace_fee

marketplace_fee : float
Attribute

(type = "float")

var

Type(s)

float

differential_pricing

differential_pricing : object
Attribute

()

var

Type(s)

object

payment_methods

payment_methods : object
Attribute

()

var

Type(s)

object

items

items : array
Attribute

(type = "array", required = "true")

var

Type(s)

array

payer

payer : object
Attribute

(type = "object")

var

Type(s)

object

shipments

shipments : object
Attribute

(type = "object")

var

Type(s)

object

date_created

date_created : \DateTime
Attribute

(type = "date")

var

Type(s)

\DateTime

sponsor_id

sponsor_id : integer
Attribute

(type = "integer")

var

Type(s)

integer

processing_modes

processing_modes : array
Attribute

(type = "array")

var

Type(s)

array

binary_mode

binary_mode : boolean
Attribute

()

var

Type(s)

boolean

taxes

taxes : array
Attribute

(type = "array")

var

Type(s)

array

tracks

tracks : array
Attribute

(type = "array")

var

Type(s)

array