func (d *OrderFilledPayload) DecodeOrderFilledPayload(p Payload) error {
	makerOrderPayload := p.(map[string]interface{})["makerOrder"].(map[string]interface{})
	takerOrderPayload := p.(map[string]interface{})["takerOrder"].(map[string]interface{})
	err := d.MakerOrder.Decode(makerOrderPayload)
	if err != nil {
		return err
	}
	err = d.TakerOrder.Decode(takerOrderPayload)
	if err != nil {
		return err
	}

	return nil
}
// DecodeOrderFilledPayload takes a payload unmarshalled from a JSON byte string and decodes it into
// an OrderFilledPayload
DecodeOrderFilledPayload takes a payload unmarshalled from a JSON byte string and decodes it into
an OrderFilledPayload
// DecodeOrderFilledPayload takes a payload unmarshalled from a JSON byte string and decodes it into // an OrderFilledPayload
func (d *OrderFilledPayload) DecodeOrderFilledPayload(p Payload) error {
	makerOrderPayload := p.(map[string]interface{})["makerOrder"].(map[string]interface{})
	takerOrderPayload := p.(map[string]interface{})["takerOrder"].(map[string]interface{})
	err := d.MakerOrder.Decode(makerOrderPayload)
	if err != nil {
		return err
	}
	err = d.TakerOrder.Decode(takerOrderPayload)
	if err != nil {
		return err
	}
	return nil
}
func ( d * OrderFilledPayload ) DecodeOrderFilledPayload ( p Payload ) error { makerOrderPayload := p . ( map [ string ] interface { } ) [ " " ] . ( map [ string ] interface { } ) takerOrderPayload := p . ( map [ string ] interface { } ) [ " " ] . ( map [ string ] interface { } ) err := d . MakerOrder . Decode ( makerOrderPayload ) if err != nil { return err } err = d . TakerOrder . Decode ( takerOrderPayload ) if err != nil { return err } return nil }
DecodeOrderFilledPayload takes a payload unmarshalled from a JSON byte string and decodes it into
an OrderFilledPayload
DecodeOrderFilledPayload takes a payload unmarshalled from a JSON byte string and decodes it into an OrderFilledPayload