// 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 ops_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 Postal Code BillingPostalcode string `json:"BillingPostalcode,omitempty"` // Billing State BillingState string `json:"BillingState,omitempty"` // Billing Street BillingStreet string `json:"BillingStreet,omitempty"` // CC Type CCType string `json:"CCType,omitempty"` // CC Number CcNumber string `json:"CcNumber,omitempty"` // Company CompanyID string `json:"CompanyID,omitempty"` // Exp Month ExpMonth string `json:"ExpMonth,omitempty"` // Exp Year ExpYear string `json:"ExpYear,omitempty"` // Taxnexus Record Id ID string `json:"ID,omitempty"` // CC Name Name string `json:"Name,omitempty"` // Source System identifier for this record, if any Ref string `json:"Ref,omitempty"` // ID of the Tenant that owns this object 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 }