# MerchantOrder

Extends \MercadoPago\Entity

This class will allow you to create and manage your orders. You can attach one or more payments in your merchant order.

link | Click here for more infos
RestMethod | (resource="/merchant_orders/:id", method="read")
RestMethod | (resource="/merchant_orders/", method="create")
RestMethod | (resource="/merchant_orders/:id", method="update")
package | Default

### Methods

### Properties

## id

    id : integer

Attribute | ()
var |

### Type(s)

`integer`

## preferenceId

    preferenceId : string

Attribute | ()
var |

### Type(s)

`string`

## dateCreated

    dateCreated : string

Attribute | ()
var |

### Type(s)

`string`

## lastUpdated

    lastUpdate : string

Attribute | ()
var |

### Type(s)

`string`

## applicationId

    applicationId : string

Attribute |
var |

### Type(s)

`string`

## status

    status : string

Attribute | ()
var |

### Type(s)

`string`

## siteId

    siteId : string

Attribute | ()
var |

### Type(s)

`string`

## payer

    payer : object

Attribute | ()
var |

### Type(s)

`object`

## collector

    collector : object

Attribute | ()
var |

### Type(s)

`object`

## sponsorId

    sponsorId : integer

Attribute | ()
var |

### Type(s)

`integer`

## payments

    payments : array

Attribute | ()
var |

### Type(s)

`array`

## paidAmount

    paidAmount : float

Attribute | ()
var |

### Type(s)

`float`

## refundedAmount

    refundedAmount : float

Attribute | ()
var |

### Type(s)

`float`

## shippingCost

    shippingCost : float

Attribute | ()
var |

### Type(s)

`float`

## cancelled

    cancelled : boolean

Attribute | ()
var |

### Type(s)

`boolean`

## items

    items : array

Attribute | ()
var |

### Type(s)

`array`

## shipments

    shipments : array

Attribute | ()
var |

### Type(s)

`array`

## notificationUrl

    notificationUrl : string

Attribute | ()
var |

### Type(s)

`string`

## additionalInfo

    additionalInfo : string

Attribute | ()
var |

### Type(s)

`string`

## externalReference

    externalReference : string

Attribute | ()
var |

### Type(s)

`string`

## marketplace

    marketplace : string

Attribute | ()
var |

### Type(s)

`string`

## totalAmount

    totalAmount : float

Attribute | ()
var |

### Type(s)

`float`