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

112 lines
2.5 KiB
Go

// Code generated by go-swagger; DO NOT EDIT.
// All Code Copyright(c) 2018-2021 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 (
"context"
"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
}
// ContextValidate validates this statement based on context it is used
func (m *Statement) ContextValidate(ctx context.Context, 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
}