lib/api/sf-gate/sf_gate_models/statement.go

105 lines
2.4 KiB
Go
Raw Permalink Normal View History

2021-01-08 17:40:28 +00:00
// Code generated by go-swagger; DO NOT EDIT.
// All Code Copyright(c) 2018-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package sf_gate_models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// Statement statement
//
// swagger:model Statement
type Statement struct {
// Account
Account string `json:"account,omitempty"`
// Account Balance
Accountbalance float64 `json:"accountbalance,omitempty"`
// Account City
Accountcity string `json:"accountcity,omitempty"`
// Account Country
Accountcountry string `json:"accountcountry,omitempty"`
// Account Name
Accountname string `json:"accountname,omitempty"`
// Account Postal Code
Accountpostalcode string `json:"accountpostalcode,omitempty"`
// Account State
Accountstate string `json:"accountstate,omitempty"`
// Account State Code
Accountstatecode string `json:"accountstatecode,omitempty"`
// Account Street
Accountstreet string `json:"accountstreet,omitempty"`
// Billing Country Code
Billingcountrycode string `json:"billingcountrycode,omitempty"`
// Contact
Contact string `json:"contact,omitempty"`
// Statement Date
Date string `json:"date,omitempty"`
// Date From
Datefrom string `json:"datefrom,omitempty"`
// Date To
Dateto string `json:"dateto,omitempty"`
// Delivery Method
Deliverymethod string `json:"deliverymethod,omitempty"`
// Statement Number
Name string `json:"name,omitempty"`
// Recipient Email
Recipientemail string `json:"recipientemail,omitempty"`
// Recipient Type
Recipienttype string `json:"recipienttype,omitempty"`
// Statement Salesforce ID
Statementid string `json:"statementid,omitempty"`
// tenant identifier
Tenantid string `json:"tenantid,omitempty"`
}
// Validate validates this statement
func (m *Statement) Validate(formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *Statement) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *Statement) UnmarshalBinary(b []byte) error {
var res Statement
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}