Skip to content

Commit

Permalink
Merge pull request #11 from BoltApp/ellenwei/add-fields-for-L3
Browse files Browse the repository at this point in the history
[Braintree L2/L3] add fields for L3
  • Loading branch information
ellenwei authored Apr 27, 2021
2 parents 6684e71 + 6ae898e commit b0fdb45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,11 @@ type TransactionRequest struct {
CustomFields customfields.CustomFields `xml:"custom-fields,omitempty"`
PurchaseOrderNumber string `xml:"purchase-order-number,omitempty"`
TransactionSource TransactionSource `xml:"transaction-source,omitempty"`
ShippingAmount *Decimal `xml:"shipping-amount,omitempty"`
DiscountAmount *Decimal `xml:"discount-amount,omitempty"`
ShipsFromPostalCode string `xml:"ships-from-postal-code,omitempty"`
LineItems TransactionLineItemRequests `xml:"line-items,omitempty"`
ExternalVault *ExternalVault `xml:"external-vault,omitempty"`
ExternalVault *ExternalVault `xml:"external-vault,omitempty"`
}

type TransactionRefundRequest struct {
Expand Down

0 comments on commit b0fdb45

Please sign in to comment.