diff --git a/models/resources/purchase_resource/purchase_resource.go b/models/resources/purchase_resource/purchase_resource.go index 5e6ebcb..904e06a 100644 --- a/models/resources/purchase_resource/purchase_resource.go +++ b/models/resources/purchase_resource/purchase_resource.go @@ -9,6 +9,7 @@ import ( type PurchaseResource struct { utils.AbstractObject + FromNano string `json:"from_nano,omitempty" bson:"priced_item,omitempty"` DestPeerID string `json:"dest_peer_id" bson:"dest_peer_id"` PricedItem map[string]interface{} `json:"priced_item,omitempty" bson:"priced_item,omitempty" validate:"required"` ExecutionID string `json:"execution_id,omitempty" bson:"execution_id,omitempty" validate:"required"` // ExecutionsID is the ID of the executions