Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

eParcel file format #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/Doghouse/Australia/Eparcel/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function isAddedToEparcel($isAddedToEparcel=null)
public function getValues()
{
$values = array_values(
get_object_vars($this)
array_diff_key(get_object_vars($this), array('isAddedToEparcel' => ''))
);

foreach( $values as &$value )
Expand Down
22 changes: 22 additions & 0 deletions src/lib/Doghouse/Australia/Eparcel/Record/Consignement.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,26 @@ class Doghouse_Australia_Eparcel_Record_Consignement extends Doghouse_Australia_
public $isRef2PrintRequired = false;
public $chargebackAccount;
public $isRecurringConsignement = false;
public $returnName;
public $returnAddressLine1;
public $returnAddressLine2;
public $returnAddressLine3;
public $returnAddressLine4;
public $returnSuburb;
public $returnStateCode;
public $returnPostcode;
public $returnCountryCode;
public $redirectionCompanyName;
public $redirectionName;
public $redirectionAddressLine1;
public $redirectionAddressLine2;
public $redirectionAddressLine3;
public $redirectionAddressLine4;
public $redirectionSuburb;
public $redirectionStateCode;
public $redirectionPostcode;
public $redirectionCountryCode;
public $manifestId = '';
public $consigneeEmail;
public $consigneeEmailNotification;
}