90 lines
1.8 KiB
Go
90 lines
1.8 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 (
|
|
"github.com/go-openapi/strfmt"
|
|
"github.com/go-openapi/swag"
|
|
)
|
|
|
|
// CreditCard credit card
|
|
//
|
|
// swagger:model CreditCard
|
|
type CreditCard struct {
|
|
|
|
// Active
|
|
Active bool `json:"active,omitempty"`
|
|
|
|
// Billing City
|
|
Billingcity string `json:"billingcity,omitempty"`
|
|
|
|
// Billing State
|
|
Billingstate string `json:"billingstate,omitempty"`
|
|
|
|
// Billing Street
|
|
Billingstreet string `json:"billingstreet,omitempty"`
|
|
|
|
// Billing Zip
|
|
Billingzip string `json:"billingzip,omitempty"`
|
|
|
|
// CC CID
|
|
CcCid string `json:"cc_cid,omitempty"`
|
|
|
|
// CC Number
|
|
CcNumber string `json:"cc_number,omitempty"`
|
|
|
|
// CC_Print
|
|
CcPrint string `json:"cc_print,omitempty"`
|
|
|
|
// CC Type
|
|
CcType string `json:"cc_type,omitempty"`
|
|
|
|
// Company
|
|
Companyid string `json:"companyid,omitempty"`
|
|
|
|
// Exp Month
|
|
Expmonth string `json:"expmonth,omitempty"`
|
|
|
|
// Exp Year
|
|
Expyear string `json:"expyear,omitempty"`
|
|
|
|
// Record Id
|
|
ID string `json:"id,omitempty"`
|
|
|
|
// CC Name
|
|
Name string `json:"name,omitempty"`
|
|
|
|
// tenant identifier
|
|
Tenantid string `json:"tenantid,omitempty"`
|
|
}
|
|
|
|
// Validate validates this credit card
|
|
func (m *CreditCard) Validate(formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// MarshalBinary interface implementation
|
|
func (m *CreditCard) MarshalBinary() ([]byte, error) {
|
|
if m == nil {
|
|
return nil, nil
|
|
}
|
|
return swag.WriteJSON(m)
|
|
}
|
|
|
|
// UnmarshalBinary interface implementation
|
|
func (m *CreditCard) UnmarshalBinary(b []byte) error {
|
|
var res CreditCard
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
return err
|
|
}
|
|
*m = res
|
|
return nil
|
|
}
|