Skip to content

Commit

Permalink
Merge pull request #26 from Riskified/LineItem-sender_email
Browse files Browse the repository at this point in the history
add sender_email field to LineItem model
  • Loading branch information
bobmeow authored Apr 26, 2018
2 parents cbf62b0 + 100ce6a commit 29caec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sample/order_full_flow.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
'price' => 100,
'quantity' => 1,
'requires_shipping' => false,
'delivered_at' => '2017-03-10T11:00:00-05:00'
'delivered_at' => '2017-03-10T11:00:00-05:00',
'sender_name' => 'John Doe',
'sender_email' => '[email protected]'
)),
new Model\LineItem(array(
'price' => 200,
Expand Down
1 change: 1 addition & 0 deletions src/Riskified/OrderWebhook/Model/LineItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class LineItem extends AbstractModel {
'card_type' => 'string optional',
'card_subtype' => 'string optional',
'sender_name'=> 'string optional',
'sender_email'=> 'string optional',

/* fields for travel industry */
'leg_id'=> 'string optional',
Expand Down

0 comments on commit 29caec7

Please sign in to comment.