Documentation ¶
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AioCheckOutAtmOption
- func (o *AioCheckOutAtmOption) GetClientRedirectURL() string
- func (o *AioCheckOutAtmOption) GetClientRedirectURLOk() (*string, bool)
- func (o *AioCheckOutAtmOption) GetExpireDate() int
- func (o *AioCheckOutAtmOption) GetExpireDateOk() (*int, bool)
- func (o *AioCheckOutAtmOption) GetPaymentInfoURL() string
- func (o *AioCheckOutAtmOption) GetPaymentInfoURLOk() (*string, bool)
- func (o *AioCheckOutAtmOption) HasClientRedirectURL() bool
- func (o *AioCheckOutAtmOption) HasExpireDate() bool
- func (o *AioCheckOutAtmOption) HasPaymentInfoURL() bool
- func (o AioCheckOutAtmOption) MarshalJSON() ([]byte, error)
- func (o *AioCheckOutAtmOption) SetClientRedirectURL(v string)
- func (o *AioCheckOutAtmOption) SetExpireDate(v int)
- func (o *AioCheckOutAtmOption) SetPaymentInfoURL(v string)
- type AioCheckOutCreditInstallmentOption
- func (o *AioCheckOutCreditInstallmentOption) GetCreditInstallment() string
- func (o *AioCheckOutCreditInstallmentOption) GetCreditInstallmentOk() (*string, bool)
- func (o AioCheckOutCreditInstallmentOption) MarshalJSON() ([]byte, error)
- func (o *AioCheckOutCreditInstallmentOption) SetCreditInstallment(v string)
- type AioCheckOutCreditOnetimeOption
- func (o *AioCheckOutCreditOnetimeOption) GetRedeem() RedeemEnum
- func (o *AioCheckOutCreditOnetimeOption) GetRedeemOk() (*RedeemEnum, bool)
- func (o *AioCheckOutCreditOnetimeOption) GetUnionPay() UnionPayEnum
- func (o *AioCheckOutCreditOnetimeOption) GetUnionPayOk() (*UnionPayEnum, bool)
- func (o *AioCheckOutCreditOnetimeOption) HasRedeem() bool
- func (o *AioCheckOutCreditOnetimeOption) HasUnionPay() bool
- func (o AioCheckOutCreditOnetimeOption) MarshalJSON() ([]byte, error)
- func (o *AioCheckOutCreditOnetimeOption) SetRedeem(v RedeemEnum)
- func (o *AioCheckOutCreditOnetimeOption) SetUnionPay(v UnionPayEnum)
- type AioCheckOutCreditOption
- func (o *AioCheckOutCreditOption) GetBindingCard() BindingCardEnum
- func (o *AioCheckOutCreditOption) GetBindingCardOk() (*BindingCardEnum, bool)
- func (o *AioCheckOutCreditOption) GetMerchantMemberID() string
- func (o *AioCheckOutCreditOption) GetMerchantMemberIDOk() (*string, bool)
- func (o *AioCheckOutCreditOption) HasBindingCard() bool
- func (o *AioCheckOutCreditOption) HasMerchantMemberID() bool
- func (o AioCheckOutCreditOption) MarshalJSON() ([]byte, error)
- func (o *AioCheckOutCreditOption) SetBindingCard(v BindingCardEnum)
- func (o *AioCheckOutCreditOption) SetMerchantMemberID(v string)
- type AioCheckOutCreditPeriodOption
- func (o *AioCheckOutCreditPeriodOption) GetExecTimes() int
- func (o *AioCheckOutCreditPeriodOption) GetExecTimesOk() (*int, bool)
- func (o *AioCheckOutCreditPeriodOption) GetFrequency() int
- func (o *AioCheckOutCreditPeriodOption) GetFrequencyOk() (*int, bool)
- func (o *AioCheckOutCreditPeriodOption) GetPeriodAmount() int
- func (o *AioCheckOutCreditPeriodOption) GetPeriodAmountOk() (*int, bool)
- func (o *AioCheckOutCreditPeriodOption) GetPeriodReturnURL() string
- func (o *AioCheckOutCreditPeriodOption) GetPeriodReturnURLOk() (*string, bool)
- func (o *AioCheckOutCreditPeriodOption) GetPeriodType() CreditPeriodTypeEnum
- func (o *AioCheckOutCreditPeriodOption) GetPeriodTypeOk() (*CreditPeriodTypeEnum, bool)
- func (o *AioCheckOutCreditPeriodOption) HasPeriodReturnURL() bool
- func (o AioCheckOutCreditPeriodOption) MarshalJSON() ([]byte, error)
- func (o *AioCheckOutCreditPeriodOption) SetExecTimes(v int)
- func (o *AioCheckOutCreditPeriodOption) SetFrequency(v int)
- func (o *AioCheckOutCreditPeriodOption) SetPeriodAmount(v int)
- func (o *AioCheckOutCreditPeriodOption) SetPeriodReturnURL(v string)
- func (o *AioCheckOutCreditPeriodOption) SetPeriodType(v CreditPeriodTypeEnum)
- type AioCheckOutCvsBarcodeOption
- func (o *AioCheckOutCvsBarcodeOption) GetClientRedirectURL() string
- func (o *AioCheckOutCvsBarcodeOption) GetClientRedirectURLOk() (*string, bool)
- func (o *AioCheckOutCvsBarcodeOption) GetDesc1() string
- func (o *AioCheckOutCvsBarcodeOption) GetDesc1Ok() (*string, bool)
- func (o *AioCheckOutCvsBarcodeOption) GetDesc2() string
- func (o *AioCheckOutCvsBarcodeOption) GetDesc2Ok() (*string, bool)
- func (o *AioCheckOutCvsBarcodeOption) GetDesc3() string
- func (o *AioCheckOutCvsBarcodeOption) GetDesc3Ok() (*string, bool)
- func (o *AioCheckOutCvsBarcodeOption) GetDesc4() string
- func (o *AioCheckOutCvsBarcodeOption) GetDesc4Ok() (*string, bool)
- func (o *AioCheckOutCvsBarcodeOption) GetPaymentInfoURL() string
- func (o *AioCheckOutCvsBarcodeOption) GetPaymentInfoURLOk() (*string, bool)
- func (o *AioCheckOutCvsBarcodeOption) GetStoreExpireDate() int
- func (o *AioCheckOutCvsBarcodeOption) GetStoreExpireDateOk() (*int, bool)
- func (o *AioCheckOutCvsBarcodeOption) HasClientRedirectURL() bool
- func (o *AioCheckOutCvsBarcodeOption) HasDesc1() bool
- func (o *AioCheckOutCvsBarcodeOption) HasDesc2() bool
- func (o *AioCheckOutCvsBarcodeOption) HasDesc3() bool
- func (o *AioCheckOutCvsBarcodeOption) HasDesc4() bool
- func (o *AioCheckOutCvsBarcodeOption) HasPaymentInfoURL() bool
- func (o *AioCheckOutCvsBarcodeOption) HasStoreExpireDate() bool
- func (o AioCheckOutCvsBarcodeOption) MarshalJSON() ([]byte, error)
- func (o *AioCheckOutCvsBarcodeOption) SetClientRedirectURL(v string)
- func (o *AioCheckOutCvsBarcodeOption) SetDesc1(v string)
- func (o *AioCheckOutCvsBarcodeOption) SetDesc2(v string)
- func (o *AioCheckOutCvsBarcodeOption) SetDesc3(v string)
- func (o *AioCheckOutCvsBarcodeOption) SetDesc4(v string)
- func (o *AioCheckOutCvsBarcodeOption) SetPaymentInfoURL(v string)
- func (o *AioCheckOutCvsBarcodeOption) SetStoreExpireDate(v int)
- type AioCheckOutGeneralOption
- func (o *AioCheckOutGeneralOption) GetCheckMacValue() string
- func (o *AioCheckOutGeneralOption) GetCheckMacValueOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetChoosePayment() ChoosePaymentEnum
- func (o *AioCheckOutGeneralOption) GetChoosePaymentOk() (*ChoosePaymentEnum, bool)
- func (o *AioCheckOutGeneralOption) GetChooseSubPayment() ChooseSubPaymentEnum
- func (o *AioCheckOutGeneralOption) GetChooseSubPaymentOk() (*ChooseSubPaymentEnum, bool)
- func (o *AioCheckOutGeneralOption) GetClientBackURL() string
- func (o *AioCheckOutGeneralOption) GetClientBackURLOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetCustomField1() string
- func (o *AioCheckOutGeneralOption) GetCustomField1Ok() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetCustomField2() string
- func (o *AioCheckOutGeneralOption) GetCustomField2Ok() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetCustomField3() string
- func (o *AioCheckOutGeneralOption) GetCustomField3Ok() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetCustomField4() string
- func (o *AioCheckOutGeneralOption) GetCustomField4Ok() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetDeviceSource() string
- func (o *AioCheckOutGeneralOption) GetDeviceSourceOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetEncryptType() EncryptTypeEnum
- func (o *AioCheckOutGeneralOption) GetEncryptTypeOk() (*EncryptTypeEnum, bool)
- func (o *AioCheckOutGeneralOption) GetIgnorePayment() string
- func (o *AioCheckOutGeneralOption) GetIgnorePaymentOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetInvoiceMark() InvoiceMarkEnum
- func (o *AioCheckOutGeneralOption) GetInvoiceMarkOk() (*InvoiceMarkEnum, bool)
- func (o *AioCheckOutGeneralOption) GetItemName() string
- func (o *AioCheckOutGeneralOption) GetItemNameOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetItemURL() string
- func (o *AioCheckOutGeneralOption) GetItemURLOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetLanguage() LanguageEnum
- func (o *AioCheckOutGeneralOption) GetLanguageOk() (*LanguageEnum, bool)
- func (o *AioCheckOutGeneralOption) GetMerchantID() string
- func (o *AioCheckOutGeneralOption) GetMerchantIDOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetMerchantTradeDate() ECPayDateTime
- func (o *AioCheckOutGeneralOption) GetMerchantTradeDateOk() (*ECPayDateTime, bool)
- func (o *AioCheckOutGeneralOption) GetMerchantTradeNo() string
- func (o *AioCheckOutGeneralOption) GetMerchantTradeNoOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetNeedExtraPaidInfo() NeedExtraPaidInfoEnum
- func (o *AioCheckOutGeneralOption) GetNeedExtraPaidInfoOk() (*NeedExtraPaidInfoEnum, bool)
- func (o *AioCheckOutGeneralOption) GetOrderResultURL() string
- func (o *AioCheckOutGeneralOption) GetOrderResultURLOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetPaymentType() AioCheckPaymentTypeEnum
- func (o *AioCheckOutGeneralOption) GetPaymentTypeOk() (*AioCheckPaymentTypeEnum, bool)
- func (o *AioCheckOutGeneralOption) GetPlatformID() string
- func (o *AioCheckOutGeneralOption) GetPlatformIDOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetRemark() string
- func (o *AioCheckOutGeneralOption) GetRemarkOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetReturnURL() string
- func (o *AioCheckOutGeneralOption) GetReturnURLOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetStoreID() string
- func (o *AioCheckOutGeneralOption) GetStoreIDOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) GetTotalAmount() int
- func (o *AioCheckOutGeneralOption) GetTotalAmountOk() (*int, bool)
- func (o *AioCheckOutGeneralOption) GetTradeDesc() string
- func (o *AioCheckOutGeneralOption) GetTradeDescOk() (*string, bool)
- func (o *AioCheckOutGeneralOption) HasChooseSubPayment() bool
- func (o *AioCheckOutGeneralOption) HasClientBackURL() bool
- func (o *AioCheckOutGeneralOption) HasCustomField1() bool
- func (o *AioCheckOutGeneralOption) HasCustomField2() bool
- func (o *AioCheckOutGeneralOption) HasCustomField3() bool
- func (o *AioCheckOutGeneralOption) HasCustomField4() bool
- func (o *AioCheckOutGeneralOption) HasDeviceSource() bool
- func (o *AioCheckOutGeneralOption) HasIgnorePayment() bool
- func (o *AioCheckOutGeneralOption) HasInvoiceMark() bool
- func (o *AioCheckOutGeneralOption) HasItemURL() bool
- func (o *AioCheckOutGeneralOption) HasLanguage() bool
- func (o *AioCheckOutGeneralOption) HasNeedExtraPaidInfo() bool
- func (o *AioCheckOutGeneralOption) HasOrderResultURL() bool
- func (o *AioCheckOutGeneralOption) HasPlatformID() bool
- func (o *AioCheckOutGeneralOption) HasRemark() bool
- func (o *AioCheckOutGeneralOption) HasStoreID() bool
- func (o AioCheckOutGeneralOption) MarshalJSON() ([]byte, error)
- func (o *AioCheckOutGeneralOption) SetCheckMacValue(v string)
- func (o *AioCheckOutGeneralOption) SetChoosePayment(v ChoosePaymentEnum)
- func (o *AioCheckOutGeneralOption) SetChooseSubPayment(v ChooseSubPaymentEnum)
- func (o *AioCheckOutGeneralOption) SetClientBackURL(v string)
- func (o *AioCheckOutGeneralOption) SetCustomField1(v string)
- func (o *AioCheckOutGeneralOption) SetCustomField2(v string)
- func (o *AioCheckOutGeneralOption) SetCustomField3(v string)
- func (o *AioCheckOutGeneralOption) SetCustomField4(v string)
- func (o *AioCheckOutGeneralOption) SetDeviceSource(v string)
- func (o *AioCheckOutGeneralOption) SetEncryptType(v EncryptTypeEnum)
- func (o *AioCheckOutGeneralOption) SetIgnorePayment(v string)
- func (o *AioCheckOutGeneralOption) SetInvoiceMark(v InvoiceMarkEnum)
- func (o *AioCheckOutGeneralOption) SetItemName(v string)
- func (o *AioCheckOutGeneralOption) SetItemURL(v string)
- func (o *AioCheckOutGeneralOption) SetLanguage(v LanguageEnum)
- func (o *AioCheckOutGeneralOption) SetMerchantID(v string)
- func (o *AioCheckOutGeneralOption) SetMerchantTradeDate(v ECPayDateTime)
- func (o *AioCheckOutGeneralOption) SetMerchantTradeNo(v string)
- func (o *AioCheckOutGeneralOption) SetNeedExtraPaidInfo(v NeedExtraPaidInfoEnum)
- func (o *AioCheckOutGeneralOption) SetOrderResultURL(v string)
- func (o *AioCheckOutGeneralOption) SetPaymentType(v AioCheckPaymentTypeEnum)
- func (o *AioCheckOutGeneralOption) SetPlatformID(v string)
- func (o *AioCheckOutGeneralOption) SetRemark(v string)
- func (o *AioCheckOutGeneralOption) SetReturnURL(v string)
- func (o *AioCheckOutGeneralOption) SetStoreID(v string)
- func (o *AioCheckOutGeneralOption) SetTotalAmount(v int)
- func (o *AioCheckOutGeneralOption) SetTradeDesc(v string)
- type AioCheckOutInvoiceOption
- func (o *AioCheckOutInvoiceOption) GetCarruerNum() string
- func (o *AioCheckOutInvoiceOption) GetCarruerNumOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetCarruerType() CarruerTypeEnum
- func (o *AioCheckOutInvoiceOption) GetCarruerTypeOk() (*CarruerTypeEnum, bool)
- func (o *AioCheckOutInvoiceOption) GetClearanceMark() ClearanceMarkEnum
- func (o *AioCheckOutInvoiceOption) GetClearanceMarkOk() (*ClearanceMarkEnum, bool)
- func (o *AioCheckOutInvoiceOption) GetCustomerAddr() string
- func (o *AioCheckOutInvoiceOption) GetCustomerAddrOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetCustomerEmail() string
- func (o *AioCheckOutInvoiceOption) GetCustomerEmailOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetCustomerID() string
- func (o *AioCheckOutInvoiceOption) GetCustomerIDOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetCustomerIdentifier() string
- func (o *AioCheckOutInvoiceOption) GetCustomerIdentifierOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetCustomerName() string
- func (o *AioCheckOutInvoiceOption) GetCustomerNameOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetCustomerPhone() string
- func (o *AioCheckOutInvoiceOption) GetCustomerPhoneOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetDelayDay() int
- func (o *AioCheckOutInvoiceOption) GetDelayDayOk() (*int, bool)
- func (o *AioCheckOutInvoiceOption) GetDonation() InvoiceDonationEunm
- func (o *AioCheckOutInvoiceOption) GetDonationOk() (*InvoiceDonationEunm, bool)
- func (o *AioCheckOutInvoiceOption) GetInvType() string
- func (o *AioCheckOutInvoiceOption) GetInvTypeOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemCount() string
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemCountOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemName() string
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemNameOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemPrice() string
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemPriceOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemTaxType() string
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemTaxTypeOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemWord() string
- func (o *AioCheckOutInvoiceOption) GetInvoiceItemWordOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetInvoiceRemark() string
- func (o *AioCheckOutInvoiceOption) GetInvoiceRemarkOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetLoveCode() string
- func (o *AioCheckOutInvoiceOption) GetLoveCodeOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetPrint() InvoicePrintEnum
- func (o *AioCheckOutInvoiceOption) GetPrintOk() (*InvoicePrintEnum, bool)
- func (o *AioCheckOutInvoiceOption) GetRelateNumber() string
- func (o *AioCheckOutInvoiceOption) GetRelateNumberOk() (*string, bool)
- func (o *AioCheckOutInvoiceOption) GetTaxType() TaxTypeEnum
- func (o *AioCheckOutInvoiceOption) GetTaxTypeOk() (*TaxTypeEnum, bool)
- func (o *AioCheckOutInvoiceOption) HasCarruerNum() bool
- func (o *AioCheckOutInvoiceOption) HasCarruerType() bool
- func (o *AioCheckOutInvoiceOption) HasClearanceMark() bool
- func (o *AioCheckOutInvoiceOption) HasCustomerAddr() bool
- func (o *AioCheckOutInvoiceOption) HasCustomerEmail() bool
- func (o *AioCheckOutInvoiceOption) HasCustomerID() bool
- func (o *AioCheckOutInvoiceOption) HasCustomerIdentifier() bool
- func (o *AioCheckOutInvoiceOption) HasCustomerName() bool
- func (o *AioCheckOutInvoiceOption) HasCustomerPhone() bool
- func (o *AioCheckOutInvoiceOption) HasInvoiceItemTaxType() bool
- func (o *AioCheckOutInvoiceOption) HasInvoiceRemark() bool
- func (o *AioCheckOutInvoiceOption) HasLoveCode() bool
- func (o AioCheckOutInvoiceOption) MarshalJSON() ([]byte, error)
- func (o *AioCheckOutInvoiceOption) SetCarruerNum(v string)
- func (o *AioCheckOutInvoiceOption) SetCarruerType(v CarruerTypeEnum)
- func (o *AioCheckOutInvoiceOption) SetClearanceMark(v ClearanceMarkEnum)
- func (o *AioCheckOutInvoiceOption) SetCustomerAddr(v string)
- func (o *AioCheckOutInvoiceOption) SetCustomerEmail(v string)
- func (o *AioCheckOutInvoiceOption) SetCustomerID(v string)
- func (o *AioCheckOutInvoiceOption) SetCustomerIdentifier(v string)
- func (o *AioCheckOutInvoiceOption) SetCustomerName(v string)
- func (o *AioCheckOutInvoiceOption) SetCustomerPhone(v string)
- func (o *AioCheckOutInvoiceOption) SetDelayDay(v int)
- func (o *AioCheckOutInvoiceOption) SetDonation(v InvoiceDonationEunm)
- func (o *AioCheckOutInvoiceOption) SetInvType(v string)
- func (o *AioCheckOutInvoiceOption) SetInvoiceItemCount(v string)
- func (o *AioCheckOutInvoiceOption) SetInvoiceItemName(v string)
- func (o *AioCheckOutInvoiceOption) SetInvoiceItemPrice(v string)
- func (o *AioCheckOutInvoiceOption) SetInvoiceItemTaxType(v string)
- func (o *AioCheckOutInvoiceOption) SetInvoiceItemWord(v string)
- func (o *AioCheckOutInvoiceOption) SetInvoiceRemark(v string)
- func (o *AioCheckOutInvoiceOption) SetLoveCode(v string)
- func (o *AioCheckOutInvoiceOption) SetPrint(v InvoicePrintEnum)
- func (o *AioCheckOutInvoiceOption) SetRelateNumber(v string)
- func (o *AioCheckOutInvoiceOption) SetTaxType(v TaxTypeEnum)
- type AioCheckPaymentTypeEnum
- type BasicAuth
- type BindingCardEnum
- type CallBackApiService
- type CarruerTypeEnum
- type ChoosePaymentEnum
- type ChooseSubPaymentEnum
- type ClearanceMarkEnum
- type Configuration
- type CreditCardPeriodInfo
- func (o *CreditCardPeriodInfo) GetAmount() int
- func (o *CreditCardPeriodInfo) GetAmountOk() (*int, bool)
- func (o *CreditCardPeriodInfo) GetAuthCode() string
- func (o *CreditCardPeriodInfo) GetAuthCodeOk() (*string, bool)
- func (o *CreditCardPeriodInfo) GetCard4no() string
- func (o *CreditCardPeriodInfo) GetCard4noOk() (*string, bool)
- func (o *CreditCardPeriodInfo) GetCard6no() string
- func (o *CreditCardPeriodInfo) GetCard6noOk() (*string, bool)
- func (o *CreditCardPeriodInfo) GetExecLog() []ExecLogRecord
- func (o *CreditCardPeriodInfo) GetExecLogOk() (*[]ExecLogRecord, bool)
- func (o *CreditCardPeriodInfo) GetExecStatus() ExecStatusEnum
- func (o *CreditCardPeriodInfo) GetExecStatusOk() (*ExecStatusEnum, bool)
- func (o *CreditCardPeriodInfo) GetExecTimes() int
- func (o *CreditCardPeriodInfo) GetExecTimesOk() (*int, bool)
- func (o *CreditCardPeriodInfo) GetFrequency() int
- func (o *CreditCardPeriodInfo) GetFrequencyOk() (*int, bool)
- func (o *CreditCardPeriodInfo) GetGwsr() int
- func (o *CreditCardPeriodInfo) GetGwsrOk() (*int, bool)
- func (o *CreditCardPeriodInfo) GetMerchantID() string
- func (o *CreditCardPeriodInfo) GetMerchantIDOk() (*string, bool)
- func (o *CreditCardPeriodInfo) GetMerchantTradeNo() string
- func (o *CreditCardPeriodInfo) GetMerchantTradeNoOk() (*string, bool)
- func (o *CreditCardPeriodInfo) GetPeriodAmount() int
- func (o *CreditCardPeriodInfo) GetPeriodAmountOk() (*int, bool)
- func (o *CreditCardPeriodInfo) GetPeriodType() CreditPeriodTypeEnum
- func (o *CreditCardPeriodInfo) GetPeriodTypeOk() (*CreditPeriodTypeEnum, bool)
- func (o *CreditCardPeriodInfo) GetProcessDate() ECPayDateTime
- func (o *CreditCardPeriodInfo) GetProcessDateOk() (*ECPayDateTime, bool)
- func (o *CreditCardPeriodInfo) GetRtnCode() int
- func (o *CreditCardPeriodInfo) GetRtnCodeOk() (*int, bool)
- func (o *CreditCardPeriodInfo) GetTotalSuccessAmount() int
- func (o *CreditCardPeriodInfo) GetTotalSuccessAmountOk() (*int, bool)
- func (o *CreditCardPeriodInfo) GetTotalSuccessTimes() int
- func (o *CreditCardPeriodInfo) GetTotalSuccessTimesOk() (*int, bool)
- func (o *CreditCardPeriodInfo) GetTradeNo() string
- func (o *CreditCardPeriodInfo) GetTradeNoOk() (*string, bool)
- func (o CreditCardPeriodInfo) MarshalJSON() ([]byte, error)
- func (o *CreditCardPeriodInfo) SetAmount(v int)
- func (o *CreditCardPeriodInfo) SetAuthCode(v string)
- func (o *CreditCardPeriodInfo) SetCard4no(v string)
- func (o *CreditCardPeriodInfo) SetCard6no(v string)
- func (o *CreditCardPeriodInfo) SetExecLog(v []ExecLogRecord)
- func (o *CreditCardPeriodInfo) SetExecStatus(v ExecStatusEnum)
- func (o *CreditCardPeriodInfo) SetExecTimes(v int)
- func (o *CreditCardPeriodInfo) SetFrequency(v int)
- func (o *CreditCardPeriodInfo) SetGwsr(v int)
- func (o *CreditCardPeriodInfo) SetMerchantID(v string)
- func (o *CreditCardPeriodInfo) SetMerchantTradeNo(v string)
- func (o *CreditCardPeriodInfo) SetPeriodAmount(v int)
- func (o *CreditCardPeriodInfo) SetPeriodType(v CreditPeriodTypeEnum)
- func (o *CreditCardPeriodInfo) SetProcessDate(v ECPayDateTime)
- func (o *CreditCardPeriodInfo) SetRtnCode(v int)
- func (o *CreditCardPeriodInfo) SetTotalSuccessAmount(v int)
- func (o *CreditCardPeriodInfo) SetTotalSuccessTimes(v int)
- func (o *CreditCardPeriodInfo) SetTradeNo(v string)
- type CreditPeriodTypeEnum
- type Decoder
- type ECPayApiService
- type ECPayDateTime
- type EncryptTypeEnum
- type ExecLogRecord
- func (o *ExecLogRecord) GetAmount() int
- func (o *ExecLogRecord) GetAmountOk() (*int, bool)
- func (o *ExecLogRecord) GetAuthCode() string
- func (o *ExecLogRecord) GetAuthCodeOk() (*string, bool)
- func (o *ExecLogRecord) GetGwsr() int
- func (o *ExecLogRecord) GetGwsrOk() (*int, bool)
- func (o *ExecLogRecord) GetProcessDate() ECPayDateTime
- func (o *ExecLogRecord) GetProcessDateOk() (*ECPayDateTime, bool)
- func (o *ExecLogRecord) GetRtnCode() int
- func (o *ExecLogRecord) GetRtnCodeOk() (*int, bool)
- func (o *ExecLogRecord) GetTradeNo() string
- func (o *ExecLogRecord) GetTradeNoOk() (*string, bool)
- func (o ExecLogRecord) MarshalJSON() ([]byte, error)
- func (o *ExecLogRecord) SetAmount(v int)
- func (o *ExecLogRecord) SetAuthCode(v string)
- func (o *ExecLogRecord) SetGwsr(v int)
- func (o *ExecLogRecord) SetProcessDate(v ECPayDateTime)
- func (o *ExecLogRecord) SetRtnCode(v int)
- func (o *ExecLogRecord) SetTradeNo(v string)
- type ExecStatusEnum
- type GenericOpenAPIError
- type InvoiceDonationEunm
- type InvoiceMarkEnum
- type InvoicePrintEnum
- type LanguageEnum
- type NeedExtraPaidInfoEnum
- type NullableAioCheckOutAtmOption
- func (v NullableAioCheckOutAtmOption) Get() *AioCheckOutAtmOption
- func (v NullableAioCheckOutAtmOption) IsSet() bool
- func (v NullableAioCheckOutAtmOption) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckOutAtmOption) Set(val *AioCheckOutAtmOption)
- func (v *NullableAioCheckOutAtmOption) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckOutAtmOption) Unset()
- type NullableAioCheckOutCreditInstallmentOption
- func (v NullableAioCheckOutCreditInstallmentOption) Get() *AioCheckOutCreditInstallmentOption
- func (v NullableAioCheckOutCreditInstallmentOption) IsSet() bool
- func (v NullableAioCheckOutCreditInstallmentOption) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckOutCreditInstallmentOption) Set(val *AioCheckOutCreditInstallmentOption)
- func (v *NullableAioCheckOutCreditInstallmentOption) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckOutCreditInstallmentOption) Unset()
- type NullableAioCheckOutCreditOnetimeOption
- func (v NullableAioCheckOutCreditOnetimeOption) Get() *AioCheckOutCreditOnetimeOption
- func (v NullableAioCheckOutCreditOnetimeOption) IsSet() bool
- func (v NullableAioCheckOutCreditOnetimeOption) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckOutCreditOnetimeOption) Set(val *AioCheckOutCreditOnetimeOption)
- func (v *NullableAioCheckOutCreditOnetimeOption) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckOutCreditOnetimeOption) Unset()
- type NullableAioCheckOutCreditOption
- func (v NullableAioCheckOutCreditOption) Get() *AioCheckOutCreditOption
- func (v NullableAioCheckOutCreditOption) IsSet() bool
- func (v NullableAioCheckOutCreditOption) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckOutCreditOption) Set(val *AioCheckOutCreditOption)
- func (v *NullableAioCheckOutCreditOption) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckOutCreditOption) Unset()
- type NullableAioCheckOutCreditPeriodOption
- func (v NullableAioCheckOutCreditPeriodOption) Get() *AioCheckOutCreditPeriodOption
- func (v NullableAioCheckOutCreditPeriodOption) IsSet() bool
- func (v NullableAioCheckOutCreditPeriodOption) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckOutCreditPeriodOption) Set(val *AioCheckOutCreditPeriodOption)
- func (v *NullableAioCheckOutCreditPeriodOption) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckOutCreditPeriodOption) Unset()
- type NullableAioCheckOutCvsBarcodeOption
- func (v NullableAioCheckOutCvsBarcodeOption) Get() *AioCheckOutCvsBarcodeOption
- func (v NullableAioCheckOutCvsBarcodeOption) IsSet() bool
- func (v NullableAioCheckOutCvsBarcodeOption) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckOutCvsBarcodeOption) Set(val *AioCheckOutCvsBarcodeOption)
- func (v *NullableAioCheckOutCvsBarcodeOption) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckOutCvsBarcodeOption) Unset()
- type NullableAioCheckOutGeneralOption
- func (v NullableAioCheckOutGeneralOption) Get() *AioCheckOutGeneralOption
- func (v NullableAioCheckOutGeneralOption) IsSet() bool
- func (v NullableAioCheckOutGeneralOption) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckOutGeneralOption) Set(val *AioCheckOutGeneralOption)
- func (v *NullableAioCheckOutGeneralOption) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckOutGeneralOption) Unset()
- type NullableAioCheckOutInvoiceOption
- func (v NullableAioCheckOutInvoiceOption) Get() *AioCheckOutInvoiceOption
- func (v NullableAioCheckOutInvoiceOption) IsSet() bool
- func (v NullableAioCheckOutInvoiceOption) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckOutInvoiceOption) Set(val *AioCheckOutInvoiceOption)
- func (v *NullableAioCheckOutInvoiceOption) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckOutInvoiceOption) Unset()
- type NullableAioCheckPaymentTypeEnum
- func (v NullableAioCheckPaymentTypeEnum) Get() *AioCheckPaymentTypeEnum
- func (v NullableAioCheckPaymentTypeEnum) IsSet() bool
- func (v NullableAioCheckPaymentTypeEnum) MarshalJSON() ([]byte, error)
- func (v *NullableAioCheckPaymentTypeEnum) Set(val *AioCheckPaymentTypeEnum)
- func (v *NullableAioCheckPaymentTypeEnum) UnmarshalJSON(src []byte) error
- func (v *NullableAioCheckPaymentTypeEnum) Unset()
- type NullableBindingCardEnum
- func (v NullableBindingCardEnum) Get() *BindingCardEnum
- func (v NullableBindingCardEnum) IsSet() bool
- func (v NullableBindingCardEnum) MarshalJSON() ([]byte, error)
- func (v *NullableBindingCardEnum) Set(val *BindingCardEnum)
- func (v *NullableBindingCardEnum) UnmarshalJSON(src []byte) error
- func (v *NullableBindingCardEnum) Unset()
- type NullableBool
- type NullableCarruerTypeEnum
- func (v NullableCarruerTypeEnum) Get() *CarruerTypeEnum
- func (v NullableCarruerTypeEnum) IsSet() bool
- func (v NullableCarruerTypeEnum) MarshalJSON() ([]byte, error)
- func (v *NullableCarruerTypeEnum) Set(val *CarruerTypeEnum)
- func (v *NullableCarruerTypeEnum) UnmarshalJSON(src []byte) error
- func (v *NullableCarruerTypeEnum) Unset()
- type NullableChoosePaymentEnum
- func (v NullableChoosePaymentEnum) Get() *ChoosePaymentEnum
- func (v NullableChoosePaymentEnum) IsSet() bool
- func (v NullableChoosePaymentEnum) MarshalJSON() ([]byte, error)
- func (v *NullableChoosePaymentEnum) Set(val *ChoosePaymentEnum)
- func (v *NullableChoosePaymentEnum) UnmarshalJSON(src []byte) error
- func (v *NullableChoosePaymentEnum) Unset()
- type NullableChooseSubPaymentEnum
- func (v NullableChooseSubPaymentEnum) Get() *ChooseSubPaymentEnum
- func (v NullableChooseSubPaymentEnum) IsSet() bool
- func (v NullableChooseSubPaymentEnum) MarshalJSON() ([]byte, error)
- func (v *NullableChooseSubPaymentEnum) Set(val *ChooseSubPaymentEnum)
- func (v *NullableChooseSubPaymentEnum) UnmarshalJSON(src []byte) error
- func (v *NullableChooseSubPaymentEnum) Unset()
- type NullableClearanceMarkEnum
- func (v NullableClearanceMarkEnum) Get() *ClearanceMarkEnum
- func (v NullableClearanceMarkEnum) IsSet() bool
- func (v NullableClearanceMarkEnum) MarshalJSON() ([]byte, error)
- func (v *NullableClearanceMarkEnum) Set(val *ClearanceMarkEnum)
- func (v *NullableClearanceMarkEnum) UnmarshalJSON(src []byte) error
- func (v *NullableClearanceMarkEnum) Unset()
- type NullableCreditCardPeriodInfo
- func (v NullableCreditCardPeriodInfo) Get() *CreditCardPeriodInfo
- func (v NullableCreditCardPeriodInfo) IsSet() bool
- func (v NullableCreditCardPeriodInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCreditCardPeriodInfo) Set(val *CreditCardPeriodInfo)
- func (v *NullableCreditCardPeriodInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCreditCardPeriodInfo) Unset()
- type NullableCreditPeriodTypeEnum
- func (v NullableCreditPeriodTypeEnum) Get() *CreditPeriodTypeEnum
- func (v NullableCreditPeriodTypeEnum) IsSet() bool
- func (v NullableCreditPeriodTypeEnum) MarshalJSON() ([]byte, error)
- func (v *NullableCreditPeriodTypeEnum) Set(val *CreditPeriodTypeEnum)
- func (v *NullableCreditPeriodTypeEnum) UnmarshalJSON(src []byte) error
- func (v *NullableCreditPeriodTypeEnum) Unset()
- type NullableEncryptTypeEnum
- func (v NullableEncryptTypeEnum) Get() *EncryptTypeEnum
- func (v NullableEncryptTypeEnum) IsSet() bool
- func (v NullableEncryptTypeEnum) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptTypeEnum) Set(val *EncryptTypeEnum)
- func (v *NullableEncryptTypeEnum) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptTypeEnum) Unset()
- type NullableExecLogRecord
- func (v NullableExecLogRecord) Get() *ExecLogRecord
- func (v NullableExecLogRecord) IsSet() bool
- func (v NullableExecLogRecord) MarshalJSON() ([]byte, error)
- func (v *NullableExecLogRecord) Set(val *ExecLogRecord)
- func (v *NullableExecLogRecord) UnmarshalJSON(src []byte) error
- func (v *NullableExecLogRecord) Unset()
- type NullableExecStatusEnum
- func (v NullableExecStatusEnum) Get() *ExecStatusEnum
- func (v NullableExecStatusEnum) IsSet() bool
- func (v NullableExecStatusEnum) MarshalJSON() ([]byte, error)
- func (v *NullableExecStatusEnum) Set(val *ExecStatusEnum)
- func (v *NullableExecStatusEnum) UnmarshalJSON(src []byte) error
- func (v *NullableExecStatusEnum) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInvoiceDonationEunm
- func (v NullableInvoiceDonationEunm) Get() *InvoiceDonationEunm
- func (v NullableInvoiceDonationEunm) IsSet() bool
- func (v NullableInvoiceDonationEunm) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceDonationEunm) Set(val *InvoiceDonationEunm)
- func (v *NullableInvoiceDonationEunm) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceDonationEunm) Unset()
- type NullableInvoiceMarkEnum
- func (v NullableInvoiceMarkEnum) Get() *InvoiceMarkEnum
- func (v NullableInvoiceMarkEnum) IsSet() bool
- func (v NullableInvoiceMarkEnum) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceMarkEnum) Set(val *InvoiceMarkEnum)
- func (v *NullableInvoiceMarkEnum) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceMarkEnum) Unset()
- type NullableInvoicePrintEnum
- func (v NullableInvoicePrintEnum) Get() *InvoicePrintEnum
- func (v NullableInvoicePrintEnum) IsSet() bool
- func (v NullableInvoicePrintEnum) MarshalJSON() ([]byte, error)
- func (v *NullableInvoicePrintEnum) Set(val *InvoicePrintEnum)
- func (v *NullableInvoicePrintEnum) UnmarshalJSON(src []byte) error
- func (v *NullableInvoicePrintEnum) Unset()
- type NullableLanguageEnum
- func (v NullableLanguageEnum) Get() *LanguageEnum
- func (v NullableLanguageEnum) IsSet() bool
- func (v NullableLanguageEnum) MarshalJSON() ([]byte, error)
- func (v *NullableLanguageEnum) Set(val *LanguageEnum)
- func (v *NullableLanguageEnum) UnmarshalJSON(src []byte) error
- func (v *NullableLanguageEnum) Unset()
- type NullableNeedExtraPaidInfoEnum
- func (v NullableNeedExtraPaidInfoEnum) Get() *NeedExtraPaidInfoEnum
- func (v NullableNeedExtraPaidInfoEnum) IsSet() bool
- func (v NullableNeedExtraPaidInfoEnum) MarshalJSON() ([]byte, error)
- func (v *NullableNeedExtraPaidInfoEnum) Set(val *NeedExtraPaidInfoEnum)
- func (v *NullableNeedExtraPaidInfoEnum) UnmarshalJSON(src []byte) error
- func (v *NullableNeedExtraPaidInfoEnum) Unset()
- type NullableOrderResult
- func (v NullableOrderResult) Get() *OrderResult
- func (v NullableOrderResult) IsSet() bool
- func (v NullableOrderResult) MarshalJSON() ([]byte, error)
- func (v *NullableOrderResult) Set(val *OrderResult)
- func (v *NullableOrderResult) UnmarshalJSON(src []byte) error
- func (v *NullableOrderResult) Unset()
- type NullablePeriodOrderResult
- func (v NullablePeriodOrderResult) Get() *PeriodOrderResult
- func (v NullablePeriodOrderResult) IsSet() bool
- func (v NullablePeriodOrderResult) MarshalJSON() ([]byte, error)
- func (v *NullablePeriodOrderResult) Set(val *PeriodOrderResult)
- func (v *NullablePeriodOrderResult) UnmarshalJSON(src []byte) error
- func (v *NullablePeriodOrderResult) Unset()
- type NullableQueryCreditCardPeriodInfoRequest
- func (v NullableQueryCreditCardPeriodInfoRequest) Get() *QueryCreditCardPeriodInfoRequest
- func (v NullableQueryCreditCardPeriodInfoRequest) IsSet() bool
- func (v NullableQueryCreditCardPeriodInfoRequest) MarshalJSON() ([]byte, error)
- func (v *NullableQueryCreditCardPeriodInfoRequest) Set(val *QueryCreditCardPeriodInfoRequest)
- func (v *NullableQueryCreditCardPeriodInfoRequest) UnmarshalJSON(src []byte) error
- func (v *NullableQueryCreditCardPeriodInfoRequest) Unset()
- type NullableQueryTradeInfoRequest
- func (v NullableQueryTradeInfoRequest) Get() *QueryTradeInfoRequest
- func (v NullableQueryTradeInfoRequest) IsSet() bool
- func (v NullableQueryTradeInfoRequest) MarshalJSON() ([]byte, error)
- func (v *NullableQueryTradeInfoRequest) Set(val *QueryTradeInfoRequest)
- func (v *NullableQueryTradeInfoRequest) UnmarshalJSON(src []byte) error
- func (v *NullableQueryTradeInfoRequest) Unset()
- type NullableRedeemEnum
- type NullableReturnPaymentTypeEnum
- func (v NullableReturnPaymentTypeEnum) Get() *ReturnPaymentTypeEnum
- func (v NullableReturnPaymentTypeEnum) IsSet() bool
- func (v NullableReturnPaymentTypeEnum) MarshalJSON() ([]byte, error)
- func (v *NullableReturnPaymentTypeEnum) Set(val *ReturnPaymentTypeEnum)
- func (v *NullableReturnPaymentTypeEnum) UnmarshalJSON(src []byte) error
- func (v *NullableReturnPaymentTypeEnum) Unset()
- type NullableSimulatePaidEnum
- func (v NullableSimulatePaidEnum) Get() *SimulatePaidEnum
- func (v NullableSimulatePaidEnum) IsSet() bool
- func (v NullableSimulatePaidEnum) MarshalJSON() ([]byte, error)
- func (v *NullableSimulatePaidEnum) Set(val *SimulatePaidEnum)
- func (v *NullableSimulatePaidEnum) UnmarshalJSON(src []byte) error
- func (v *NullableSimulatePaidEnum) Unset()
- type NullableString
- type NullableTaxTypeEnum
- func (v NullableTaxTypeEnum) Get() *TaxTypeEnum
- func (v NullableTaxTypeEnum) IsSet() bool
- func (v NullableTaxTypeEnum) MarshalJSON() ([]byte, error)
- func (v *NullableTaxTypeEnum) Set(val *TaxTypeEnum)
- func (v *NullableTaxTypeEnum) UnmarshalJSON(src []byte) error
- func (v *NullableTaxTypeEnum) Unset()
- type NullableTime
- type NullableTradeInfo
- type NullableUnionPayEnum
- func (v NullableUnionPayEnum) Get() *UnionPayEnum
- func (v NullableUnionPayEnum) IsSet() bool
- func (v NullableUnionPayEnum) MarshalJSON() ([]byte, error)
- func (v *NullableUnionPayEnum) Set(val *UnionPayEnum)
- func (v *NullableUnionPayEnum) UnmarshalJSON(src []byte) error
- func (v *NullableUnionPayEnum) Unset()
- type OrderResult
- func (o *OrderResult) GetCheckMacValue() string
- func (o *OrderResult) GetCheckMacValueOk() (*string, bool)
- func (o *OrderResult) GetCustomField1() string
- func (o *OrderResult) GetCustomField1Ok() (*string, bool)
- func (o *OrderResult) GetCustomField2() string
- func (o *OrderResult) GetCustomField2Ok() (*string, bool)
- func (o *OrderResult) GetCustomField3() string
- func (o *OrderResult) GetCustomField3Ok() (*string, bool)
- func (o *OrderResult) GetCustomField4() string
- func (o *OrderResult) GetCustomField4Ok() (*string, bool)
- func (o *OrderResult) GetMerchantID() string
- func (o *OrderResult) GetMerchantIDOk() (*string, bool)
- func (o *OrderResult) GetMerchantTradeNo() string
- func (o *OrderResult) GetMerchantTradeNoOk() (*string, bool)
- func (o *OrderResult) GetPaymentDate() ECPayDateTime
- func (o *OrderResult) GetPaymentDateOk() (*ECPayDateTime, bool)
- func (o *OrderResult) GetPaymentType() ReturnPaymentTypeEnum
- func (o *OrderResult) GetPaymentTypeChargeFee() int
- func (o *OrderResult) GetPaymentTypeChargeFeeOk() (*int, bool)
- func (o *OrderResult) GetPaymentTypeOk() (*ReturnPaymentTypeEnum, bool)
- func (o *OrderResult) GetRtnCode() int
- func (o *OrderResult) GetRtnCodeOk() (*int, bool)
- func (o *OrderResult) GetRtnMsg() string
- func (o *OrderResult) GetRtnMsgOk() (*string, bool)
- func (o *OrderResult) GetSimulatePaid() SimulatePaidEnum
- func (o *OrderResult) GetSimulatePaidOk() (*SimulatePaidEnum, bool)
- func (o *OrderResult) GetStoreID() string
- func (o *OrderResult) GetStoreIDOk() (*string, bool)
- func (o *OrderResult) GetTradeAmt() int
- func (o *OrderResult) GetTradeAmtOk() (*int, bool)
- func (o *OrderResult) GetTradeDate() ECPayDateTime
- func (o *OrderResult) GetTradeDateOk() (*ECPayDateTime, bool)
- func (o *OrderResult) GetTradeNo() string
- func (o *OrderResult) GetTradeNoOk() (*string, bool)
- func (o OrderResult) MarshalJSON() ([]byte, error)
- func (o *OrderResult) SetCheckMacValue(v string)
- func (o *OrderResult) SetCustomField1(v string)
- func (o *OrderResult) SetCustomField2(v string)
- func (o *OrderResult) SetCustomField3(v string)
- func (o *OrderResult) SetCustomField4(v string)
- func (o *OrderResult) SetMerchantID(v string)
- func (o *OrderResult) SetMerchantTradeNo(v string)
- func (o *OrderResult) SetPaymentDate(v ECPayDateTime)
- func (o *OrderResult) SetPaymentType(v ReturnPaymentTypeEnum)
- func (o *OrderResult) SetPaymentTypeChargeFee(v int)
- func (o *OrderResult) SetRtnCode(v int)
- func (o *OrderResult) SetRtnMsg(v string)
- func (o *OrderResult) SetSimulatePaid(v SimulatePaidEnum)
- func (o *OrderResult) SetStoreID(v string)
- func (o *OrderResult) SetTradeAmt(v int)
- func (o *OrderResult) SetTradeDate(v ECPayDateTime)
- func (o *OrderResult) SetTradeNo(v string)
- type PeriodOrderResult
- func (o *PeriodOrderResult) GetAmount() int
- func (o *PeriodOrderResult) GetAmountOk() (*int, bool)
- func (o *PeriodOrderResult) GetAuthCode() string
- func (o *PeriodOrderResult) GetAuthCodeOk() (*string, bool)
- func (o *PeriodOrderResult) GetCheckMacValue() string
- func (o *PeriodOrderResult) GetCheckMacValueOk() (*string, bool)
- func (o *PeriodOrderResult) GetCustomField1() string
- func (o *PeriodOrderResult) GetCustomField1Ok() (*string, bool)
- func (o *PeriodOrderResult) GetCustomField2() string
- func (o *PeriodOrderResult) GetCustomField2Ok() (*string, bool)
- func (o *PeriodOrderResult) GetCustomField3() string
- func (o *PeriodOrderResult) GetCustomField3Ok() (*string, bool)
- func (o *PeriodOrderResult) GetCustomField4() string
- func (o *PeriodOrderResult) GetCustomField4Ok() (*string, bool)
- func (o *PeriodOrderResult) GetExecTimes() int
- func (o *PeriodOrderResult) GetExecTimesOk() (*int, bool)
- func (o *PeriodOrderResult) GetFirstAuthAmount() int
- func (o *PeriodOrderResult) GetFirstAuthAmountOk() (*int, bool)
- func (o *PeriodOrderResult) GetFrequency() int
- func (o *PeriodOrderResult) GetFrequencyOk() (*int, bool)
- func (o *PeriodOrderResult) GetGwsr() int
- func (o *PeriodOrderResult) GetGwsrOk() (*int, bool)
- func (o *PeriodOrderResult) GetMerchantID() string
- func (o *PeriodOrderResult) GetMerchantIDOk() (*string, bool)
- func (o *PeriodOrderResult) GetMerchantTradeNo() string
- func (o *PeriodOrderResult) GetMerchantTradeNoOk() (*string, bool)
- func (o *PeriodOrderResult) GetPeriodType() CreditPeriodTypeEnum
- func (o *PeriodOrderResult) GetPeriodTypeOk() (*CreditPeriodTypeEnum, bool)
- func (o *PeriodOrderResult) GetProcessDate() ECPayDateTime
- func (o *PeriodOrderResult) GetProcessDateOk() (*ECPayDateTime, bool)
- func (o *PeriodOrderResult) GetRtnCode() int
- func (o *PeriodOrderResult) GetRtnCodeOk() (*int, bool)
- func (o *PeriodOrderResult) GetRtnMsg() string
- func (o *PeriodOrderResult) GetRtnMsgOk() (*string, bool)
- func (o *PeriodOrderResult) GetSimulatePaid() SimulatePaidEnum
- func (o *PeriodOrderResult) GetSimulatePaidOk() (*SimulatePaidEnum, bool)
- func (o *PeriodOrderResult) GetStoreID() string
- func (o *PeriodOrderResult) GetStoreIDOk() (*string, bool)
- func (o *PeriodOrderResult) GetTotalSuccessTimes() int
- func (o *PeriodOrderResult) GetTotalSuccessTimesOk() (*int, bool)
- func (o PeriodOrderResult) MarshalJSON() ([]byte, error)
- func (o *PeriodOrderResult) SetAmount(v int)
- func (o *PeriodOrderResult) SetAuthCode(v string)
- func (o *PeriodOrderResult) SetCheckMacValue(v string)
- func (o *PeriodOrderResult) SetCustomField1(v string)
- func (o *PeriodOrderResult) SetCustomField2(v string)
- func (o *PeriodOrderResult) SetCustomField3(v string)
- func (o *PeriodOrderResult) SetCustomField4(v string)
- func (o *PeriodOrderResult) SetExecTimes(v int)
- func (o *PeriodOrderResult) SetFirstAuthAmount(v int)
- func (o *PeriodOrderResult) SetFrequency(v int)
- func (o *PeriodOrderResult) SetGwsr(v int)
- func (o *PeriodOrderResult) SetMerchantID(v string)
- func (o *PeriodOrderResult) SetMerchantTradeNo(v string)
- func (o *PeriodOrderResult) SetPeriodType(v CreditPeriodTypeEnum)
- func (o *PeriodOrderResult) SetProcessDate(v ECPayDateTime)
- func (o *PeriodOrderResult) SetRtnCode(v int)
- func (o *PeriodOrderResult) SetRtnMsg(v string)
- func (o *PeriodOrderResult) SetSimulatePaid(v SimulatePaidEnum)
- func (o *PeriodOrderResult) SetStoreID(v string)
- func (o *PeriodOrderResult) SetTotalSuccessTimes(v int)
- type QueryCreditCardPeriodInfoRequest
- func (o *QueryCreditCardPeriodInfoRequest) GetCheckMacValue() string
- func (o *QueryCreditCardPeriodInfoRequest) GetCheckMacValueOk() (*string, bool)
- func (o *QueryCreditCardPeriodInfoRequest) GetMerchantID() string
- func (o *QueryCreditCardPeriodInfoRequest) GetMerchantIDOk() (*string, bool)
- func (o *QueryCreditCardPeriodInfoRequest) GetMerchantTradeNo() string
- func (o *QueryCreditCardPeriodInfoRequest) GetMerchantTradeNoOk() (*string, bool)
- func (o *QueryCreditCardPeriodInfoRequest) GetTimeStamp() int
- func (o *QueryCreditCardPeriodInfoRequest) GetTimeStampOk() (*int, bool)
- func (o QueryCreditCardPeriodInfoRequest) MarshalJSON() ([]byte, error)
- func (o *QueryCreditCardPeriodInfoRequest) SetCheckMacValue(v string)
- func (o *QueryCreditCardPeriodInfoRequest) SetMerchantID(v string)
- func (o *QueryCreditCardPeriodInfoRequest) SetMerchantTradeNo(v string)
- func (o *QueryCreditCardPeriodInfoRequest) SetTimeStamp(v int)
- type QueryTradeInfoRequest
- func (o *QueryTradeInfoRequest) GetCheckMacValue() string
- func (o *QueryTradeInfoRequest) GetCheckMacValueOk() (*string, bool)
- func (o *QueryTradeInfoRequest) GetMerchantID() string
- func (o *QueryTradeInfoRequest) GetMerchantIDOk() (*string, bool)
- func (o *QueryTradeInfoRequest) GetMerchantTradeNo() string
- func (o *QueryTradeInfoRequest) GetMerchantTradeNoOk() (*string, bool)
- func (o *QueryTradeInfoRequest) GetPlatformID() string
- func (o *QueryTradeInfoRequest) GetPlatformIDOk() (*string, bool)
- func (o *QueryTradeInfoRequest) GetTimeStamp() int
- func (o *QueryTradeInfoRequest) GetTimeStampOk() (*int, bool)
- func (o *QueryTradeInfoRequest) HasPlatformID() bool
- func (o QueryTradeInfoRequest) MarshalJSON() ([]byte, error)
- func (o *QueryTradeInfoRequest) SetCheckMacValue(v string)
- func (o *QueryTradeInfoRequest) SetMerchantID(v string)
- func (o *QueryTradeInfoRequest) SetMerchantTradeNo(v string)
- func (o *QueryTradeInfoRequest) SetPlatformID(v string)
- func (o *QueryTradeInfoRequest) SetTimeStamp(v int)
- type RedeemEnum
- type ReturnPaymentTypeEnum
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SimulatePaidEnum
- type TaxTypeEnum
- type TradeInfo
- func (o *TradeInfo) GetCheckMacValue() string
- func (o *TradeInfo) GetCheckMacValueOk() (*string, bool)
- func (o *TradeInfo) GetCustomField1() string
- func (o *TradeInfo) GetCustomField1Ok() (*string, bool)
- func (o *TradeInfo) GetCustomField2() string
- func (o *TradeInfo) GetCustomField2Ok() (*string, bool)
- func (o *TradeInfo) GetCustomField3() string
- func (o *TradeInfo) GetCustomField3Ok() (*string, bool)
- func (o *TradeInfo) GetCustomField4() string
- func (o *TradeInfo) GetCustomField4Ok() (*string, bool)
- func (o *TradeInfo) GetHandlingCharge() int
- func (o *TradeInfo) GetHandlingChargeOk() (*int, bool)
- func (o *TradeInfo) GetItemName() string
- func (o *TradeInfo) GetItemNameOk() (*string, bool)
- func (o *TradeInfo) GetMerchantID() string
- func (o *TradeInfo) GetMerchantIDOk() (*string, bool)
- func (o *TradeInfo) GetMerchantTradeNo() string
- func (o *TradeInfo) GetMerchantTradeNoOk() (*string, bool)
- func (o *TradeInfo) GetPaymentDate() ECPayDateTime
- func (o *TradeInfo) GetPaymentDateOk() (*ECPayDateTime, bool)
- func (o *TradeInfo) GetPaymentType() ReturnPaymentTypeEnum
- func (o *TradeInfo) GetPaymentTypeChargeFee() float32
- func (o *TradeInfo) GetPaymentTypeChargeFeeOk() (*float32, bool)
- func (o *TradeInfo) GetPaymentTypeOk() (*ReturnPaymentTypeEnum, bool)
- func (o *TradeInfo) GetStoreID() string
- func (o *TradeInfo) GetStoreIDOk() (*string, bool)
- func (o *TradeInfo) GetTradeAmt() int
- func (o *TradeInfo) GetTradeAmtOk() (*int, bool)
- func (o *TradeInfo) GetTradeDate() ECPayDateTime
- func (o *TradeInfo) GetTradeDateOk() (*ECPayDateTime, bool)
- func (o *TradeInfo) GetTradeNo() string
- func (o *TradeInfo) GetTradeNoOk() (*string, bool)
- func (o *TradeInfo) GetTradeStatus() string
- func (o *TradeInfo) GetTradeStatusOk() (*string, bool)
- func (o TradeInfo) MarshalJSON() ([]byte, error)
- func (o *TradeInfo) SetCheckMacValue(v string)
- func (o *TradeInfo) SetCustomField1(v string)
- func (o *TradeInfo) SetCustomField2(v string)
- func (o *TradeInfo) SetCustomField3(v string)
- func (o *TradeInfo) SetCustomField4(v string)
- func (o *TradeInfo) SetHandlingCharge(v int)
- func (o *TradeInfo) SetItemName(v string)
- func (o *TradeInfo) SetMerchantID(v string)
- func (o *TradeInfo) SetMerchantTradeNo(v string)
- func (o *TradeInfo) SetPaymentDate(v ECPayDateTime)
- func (o *TradeInfo) SetPaymentType(v ReturnPaymentTypeEnum)
- func (o *TradeInfo) SetPaymentTypeChargeFee(v float32)
- func (o *TradeInfo) SetStoreID(v string)
- func (o *TradeInfo) SetTradeAmt(v int)
- func (o *TradeInfo) SetTradeDate(v ECPayDateTime)
- func (o *TradeInfo) SetTradeNo(v string)
- func (o *TradeInfo) SetTradeStatus(v string)
- type UnionPayEnum
Constants ¶
const ECPayDateTimeFormat = "2006/01/02 15:04:05"
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { CallBackApi *CallBackApiService ECPayApi *ECPayApiService // contains filtered or unexported fields }
APIClient manages communication with the ECPay API API v0.0.24 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResonse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AioCheckOutAtmOption ¶
type AioCheckOutAtmOption struct { // **允許繳費有效天數** 若需設定最長 60 天,最短 1 天。 未設定此參數則預設為 3 天 注意事項:以天為單位 ExpireDate *int `json:"ExpireDate,omitempty" form:"ExpireDate"` // **Server端回傳付款相關資訊** 若有設定此參數,訂單建立完成後(非付款完成),綠界會 Server 端背景回傳消費者付款方式相關資訊(例:銀行代碼、繳費虛擬帳號繳費期限…等)。 請參考[ATM、CVS 或 BARCODE 的取號結果通知.] 注意事項: 頁面將會停留在綠界,顯示繳費的相關資訊。 PaymentInfoURL *string `json:"PaymentInfoURL,omitempty" form:"PaymentInfoURL"` // **Client端回傳付款相關資訊** 若有設定此參數,訂單建立完成後(非付款完成),綠界會 Client 端回傳消費者付款方式相關資訊(例:銀行代碼、繳費虛擬帳號繳費期限…等)且將頁面轉到特店指定的頁面。請參考[ATM、CVS 或 BARCODE 的取號結果通知.] 注意事項: 若設定此參數,將會使設定的返回特店的按鈕連結[ClientBackURL]失效。 若導回網址未使用 https 時,部份瀏覽器可能會出現警告訊息。 ClientRedirectURL *string `json:"ClientRedirectURL,omitempty" form:"ClientRedirectURL"` }
AioCheckOutAtmOption struct for AioCheckOutAtmOption
func NewAioCheckOutAtmOption ¶
func NewAioCheckOutAtmOption() *AioCheckOutAtmOption
NewAioCheckOutAtmOption instantiates a new AioCheckOutAtmOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAioCheckOutAtmOptionWithDefaults ¶
func NewAioCheckOutAtmOptionWithDefaults() *AioCheckOutAtmOption
NewAioCheckOutAtmOptionWithDefaults instantiates a new AioCheckOutAtmOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AioCheckOutAtmOption) GetClientRedirectURL ¶
func (o *AioCheckOutAtmOption) GetClientRedirectURL() string
GetClientRedirectURL returns the ClientRedirectURL field value if set, zero value otherwise.
func (*AioCheckOutAtmOption) GetClientRedirectURLOk ¶
func (o *AioCheckOutAtmOption) GetClientRedirectURLOk() (*string, bool)
GetClientRedirectURLOk returns a tuple with the ClientRedirectURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutAtmOption) GetExpireDate ¶
func (o *AioCheckOutAtmOption) GetExpireDate() int
GetExpireDate returns the ExpireDate field value if set, zero value otherwise.
func (*AioCheckOutAtmOption) GetExpireDateOk ¶
func (o *AioCheckOutAtmOption) GetExpireDateOk() (*int, bool)
GetExpireDateOk returns a tuple with the ExpireDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutAtmOption) GetPaymentInfoURL ¶
func (o *AioCheckOutAtmOption) GetPaymentInfoURL() string
GetPaymentInfoURL returns the PaymentInfoURL field value if set, zero value otherwise.
func (*AioCheckOutAtmOption) GetPaymentInfoURLOk ¶
func (o *AioCheckOutAtmOption) GetPaymentInfoURLOk() (*string, bool)
GetPaymentInfoURLOk returns a tuple with the PaymentInfoURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutAtmOption) HasClientRedirectURL ¶
func (o *AioCheckOutAtmOption) HasClientRedirectURL() bool
HasClientRedirectURL returns a boolean if a field has been set.
func (*AioCheckOutAtmOption) HasExpireDate ¶
func (o *AioCheckOutAtmOption) HasExpireDate() bool
HasExpireDate returns a boolean if a field has been set.
func (*AioCheckOutAtmOption) HasPaymentInfoURL ¶
func (o *AioCheckOutAtmOption) HasPaymentInfoURL() bool
HasPaymentInfoURL returns a boolean if a field has been set.
func (AioCheckOutAtmOption) MarshalJSON ¶
func (o AioCheckOutAtmOption) MarshalJSON() ([]byte, error)
func (*AioCheckOutAtmOption) SetClientRedirectURL ¶
func (o *AioCheckOutAtmOption) SetClientRedirectURL(v string)
SetClientRedirectURL gets a reference to the given string and assigns it to the ClientRedirectURL field.
func (*AioCheckOutAtmOption) SetExpireDate ¶
func (o *AioCheckOutAtmOption) SetExpireDate(v int)
SetExpireDate gets a reference to the given int and assigns it to the ExpireDate field.
func (*AioCheckOutAtmOption) SetPaymentInfoURL ¶
func (o *AioCheckOutAtmOption) SetPaymentInfoURL(v string)
SetPaymentInfoURL gets a reference to the given string and assigns it to the PaymentInfoURL field.
type AioCheckOutCreditInstallmentOption ¶
type AioCheckOutCreditInstallmentOption struct { // **刷卡分期期數** 提供刷卡分期期數 信用卡分期可用參數為:3,6,12,18,24 注意事項: 使用的期數必須先透過申請開通後方能使用,並以申請開通的期數為主。 CreditInstallment string `json:"CreditInstallment" form:"CreditInstallment"` }
AioCheckOutCreditInstallmentOption struct for AioCheckOutCreditInstallmentOption
func NewAioCheckOutCreditInstallmentOption ¶
func NewAioCheckOutCreditInstallmentOption(creditInstallment string) *AioCheckOutCreditInstallmentOption
NewAioCheckOutCreditInstallmentOption instantiates a new AioCheckOutCreditInstallmentOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAioCheckOutCreditInstallmentOptionWithDefaults ¶
func NewAioCheckOutCreditInstallmentOptionWithDefaults() *AioCheckOutCreditInstallmentOption
NewAioCheckOutCreditInstallmentOptionWithDefaults instantiates a new AioCheckOutCreditInstallmentOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AioCheckOutCreditInstallmentOption) GetCreditInstallment ¶
func (o *AioCheckOutCreditInstallmentOption) GetCreditInstallment() string
GetCreditInstallment returns the CreditInstallment field value
func (*AioCheckOutCreditInstallmentOption) GetCreditInstallmentOk ¶
func (o *AioCheckOutCreditInstallmentOption) GetCreditInstallmentOk() (*string, bool)
GetCreditInstallmentOk returns a tuple with the CreditInstallment field value and a boolean to check if the value has been set.
func (AioCheckOutCreditInstallmentOption) MarshalJSON ¶
func (o AioCheckOutCreditInstallmentOption) MarshalJSON() ([]byte, error)
func (*AioCheckOutCreditInstallmentOption) SetCreditInstallment ¶
func (o *AioCheckOutCreditInstallmentOption) SetCreditInstallment(v string)
SetCreditInstallment sets field value
type AioCheckOutCreditOnetimeOption ¶
type AioCheckOutCreditOnetimeOption struct { Redeem *RedeemEnum `json:"Redeem,omitempty" form:"Redeem"` UnionPay *UnionPayEnum `json:"UnionPay,omitempty" form:"UnionPay"` }
AioCheckOutCreditOnetimeOption struct for AioCheckOutCreditOnetimeOption
func NewAioCheckOutCreditOnetimeOption ¶
func NewAioCheckOutCreditOnetimeOption() *AioCheckOutCreditOnetimeOption
NewAioCheckOutCreditOnetimeOption instantiates a new AioCheckOutCreditOnetimeOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAioCheckOutCreditOnetimeOptionWithDefaults ¶
func NewAioCheckOutCreditOnetimeOptionWithDefaults() *AioCheckOutCreditOnetimeOption
NewAioCheckOutCreditOnetimeOptionWithDefaults instantiates a new AioCheckOutCreditOnetimeOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AioCheckOutCreditOnetimeOption) GetRedeem ¶
func (o *AioCheckOutCreditOnetimeOption) GetRedeem() RedeemEnum
GetRedeem returns the Redeem field value if set, zero value otherwise.
func (*AioCheckOutCreditOnetimeOption) GetRedeemOk ¶
func (o *AioCheckOutCreditOnetimeOption) GetRedeemOk() (*RedeemEnum, bool)
GetRedeemOk returns a tuple with the Redeem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCreditOnetimeOption) GetUnionPay ¶
func (o *AioCheckOutCreditOnetimeOption) GetUnionPay() UnionPayEnum
GetUnionPay returns the UnionPay field value if set, zero value otherwise.
func (*AioCheckOutCreditOnetimeOption) GetUnionPayOk ¶
func (o *AioCheckOutCreditOnetimeOption) GetUnionPayOk() (*UnionPayEnum, bool)
GetUnionPayOk returns a tuple with the UnionPay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCreditOnetimeOption) HasRedeem ¶
func (o *AioCheckOutCreditOnetimeOption) HasRedeem() bool
HasRedeem returns a boolean if a field has been set.
func (*AioCheckOutCreditOnetimeOption) HasUnionPay ¶
func (o *AioCheckOutCreditOnetimeOption) HasUnionPay() bool
HasUnionPay returns a boolean if a field has been set.
func (AioCheckOutCreditOnetimeOption) MarshalJSON ¶
func (o AioCheckOutCreditOnetimeOption) MarshalJSON() ([]byte, error)
func (*AioCheckOutCreditOnetimeOption) SetRedeem ¶
func (o *AioCheckOutCreditOnetimeOption) SetRedeem(v RedeemEnum)
SetRedeem gets a reference to the given RedeemEnum and assigns it to the Redeem field.
func (*AioCheckOutCreditOnetimeOption) SetUnionPay ¶
func (o *AioCheckOutCreditOnetimeOption) SetUnionPay(v UnionPayEnum)
SetUnionPay gets a reference to the given UnionPayEnum and assigns it to the UnionPay field.
type AioCheckOutCreditOption ¶
type AioCheckOutCreditOption struct { BindingCard *BindingCardEnum `json:"BindingCard,omitempty" form:"BindingCard"` // **記憶卡號識別碼** 記憶卡號識別碼 (特店代號 `MerchantID` + `廠商會員編號`) MerchantMemberID *string `json:"MerchantMemberID,omitempty" form:"MerchantMemberID"` }
AioCheckOutCreditOption struct for AioCheckOutCreditOption
func NewAioCheckOutCreditOption ¶
func NewAioCheckOutCreditOption() *AioCheckOutCreditOption
NewAioCheckOutCreditOption instantiates a new AioCheckOutCreditOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAioCheckOutCreditOptionWithDefaults ¶
func NewAioCheckOutCreditOptionWithDefaults() *AioCheckOutCreditOption
NewAioCheckOutCreditOptionWithDefaults instantiates a new AioCheckOutCreditOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AioCheckOutCreditOption) GetBindingCard ¶
func (o *AioCheckOutCreditOption) GetBindingCard() BindingCardEnum
GetBindingCard returns the BindingCard field value if set, zero value otherwise.
func (*AioCheckOutCreditOption) GetBindingCardOk ¶
func (o *AioCheckOutCreditOption) GetBindingCardOk() (*BindingCardEnum, bool)
GetBindingCardOk returns a tuple with the BindingCard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCreditOption) GetMerchantMemberID ¶
func (o *AioCheckOutCreditOption) GetMerchantMemberID() string
GetMerchantMemberID returns the MerchantMemberID field value if set, zero value otherwise.
func (*AioCheckOutCreditOption) GetMerchantMemberIDOk ¶
func (o *AioCheckOutCreditOption) GetMerchantMemberIDOk() (*string, bool)
GetMerchantMemberIDOk returns a tuple with the MerchantMemberID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCreditOption) HasBindingCard ¶
func (o *AioCheckOutCreditOption) HasBindingCard() bool
HasBindingCard returns a boolean if a field has been set.
func (*AioCheckOutCreditOption) HasMerchantMemberID ¶
func (o *AioCheckOutCreditOption) HasMerchantMemberID() bool
HasMerchantMemberID returns a boolean if a field has been set.
func (AioCheckOutCreditOption) MarshalJSON ¶
func (o AioCheckOutCreditOption) MarshalJSON() ([]byte, error)
func (*AioCheckOutCreditOption) SetBindingCard ¶
func (o *AioCheckOutCreditOption) SetBindingCard(v BindingCardEnum)
SetBindingCard gets a reference to the given BindingCardEnum and assigns it to the BindingCard field.
func (*AioCheckOutCreditOption) SetMerchantMemberID ¶
func (o *AioCheckOutCreditOption) SetMerchantMemberID(v string)
SetMerchantMemberID gets a reference to the given string and assigns it to the MerchantMemberID field.
type AioCheckOutCreditPeriodOption ¶
type AioCheckOutCreditPeriodOption struct { // **每次授權金額** 每次要授權(扣款)的金額。 注意事項: 綠界會依此次授權金額`PeriodAmount`所設定的金額做為之後固定授權的金額。 交易金額`TotalAmount`設定金額必須和授權金額`PeriodAmount`相同。 請帶整數,不可有小數點。僅限新台幣。 PeriodAmount int `json:"PeriodAmount" form:"PeriodAmount"` PeriodType CreditPeriodTypeEnum `json:"PeriodType" form:"PeriodType"` // **執行頻率** 此參數用來定義多久要執行一次 注意事項: 至少要大於等於 1 次以上。 當 `PeriodType` 設為 `D` 時,最多可設 `365` 次。 當 `PeriodType` 設為 `M` 時,最多可設 `12` 次。 當 `PeriodType` 設為 `Y` 時,最多可設 `1` 次。 Frequency int `json:"Frequency" form:"Frequency"` // **執行次數** 總共要執行幾次。 注意事項: 至少要大於 1 次以上。 當 `PeriodType` 設為 `D` 時,最多可設 `999`次。 當 `PeriodType` 設為 `M` 時,最多可設 `99`次。 當 `PeriodType` 設為 `Y` 時,最多可設 `9` 次。 例 1: 當信用卡定期定額扣款為每個月扣 1 次500 元,總共要扣 12次 `TotalAmount`參數請帶 `500` `PeriodAmount`=`500` `PeriodType`=`M` `Frequency`=`1` `ExecTimes`=`12` 例 2: 當信用卡定期定額扣款為 6000 元,每 6 個月扣 1 次,總共要扣 2 次時 交易金額`TotalAmount`參數請帶 `6000` `PeriodType`=`M` `Frequency`=`6` `ExecTimes`=`2` ExecTimes int `json:"ExecTimes" form:"ExecTimes"` // **定期定額的執行結果回應URL** 若交易是信用卡定期定額的方式,則每次執行授權完,會將授權結果回傳到這個設定的 URL。 回覆內容請參考。 PeriodReturnURL *string `json:"PeriodReturnURL,omitempty" form:"PeriodReturnURL"` }
AioCheckOutCreditPeriodOption struct for AioCheckOutCreditPeriodOption
func NewAioCheckOutCreditPeriodOption ¶
func NewAioCheckOutCreditPeriodOption(periodAmount int, periodType CreditPeriodTypeEnum, frequency int, execTimes int) *AioCheckOutCreditPeriodOption
NewAioCheckOutCreditPeriodOption instantiates a new AioCheckOutCreditPeriodOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAioCheckOutCreditPeriodOptionWithDefaults ¶
func NewAioCheckOutCreditPeriodOptionWithDefaults() *AioCheckOutCreditPeriodOption
NewAioCheckOutCreditPeriodOptionWithDefaults instantiates a new AioCheckOutCreditPeriodOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AioCheckOutCreditPeriodOption) GetExecTimes ¶
func (o *AioCheckOutCreditPeriodOption) GetExecTimes() int
GetExecTimes returns the ExecTimes field value
func (*AioCheckOutCreditPeriodOption) GetExecTimesOk ¶
func (o *AioCheckOutCreditPeriodOption) GetExecTimesOk() (*int, bool)
GetExecTimesOk returns a tuple with the ExecTimes field value and a boolean to check if the value has been set.
func (*AioCheckOutCreditPeriodOption) GetFrequency ¶
func (o *AioCheckOutCreditPeriodOption) GetFrequency() int
GetFrequency returns the Frequency field value
func (*AioCheckOutCreditPeriodOption) GetFrequencyOk ¶
func (o *AioCheckOutCreditPeriodOption) GetFrequencyOk() (*int, bool)
GetFrequencyOk returns a tuple with the Frequency field value and a boolean to check if the value has been set.
func (*AioCheckOutCreditPeriodOption) GetPeriodAmount ¶
func (o *AioCheckOutCreditPeriodOption) GetPeriodAmount() int
GetPeriodAmount returns the PeriodAmount field value
func (*AioCheckOutCreditPeriodOption) GetPeriodAmountOk ¶
func (o *AioCheckOutCreditPeriodOption) GetPeriodAmountOk() (*int, bool)
GetPeriodAmountOk returns a tuple with the PeriodAmount field value and a boolean to check if the value has been set.
func (*AioCheckOutCreditPeriodOption) GetPeriodReturnURL ¶
func (o *AioCheckOutCreditPeriodOption) GetPeriodReturnURL() string
GetPeriodReturnURL returns the PeriodReturnURL field value if set, zero value otherwise.
func (*AioCheckOutCreditPeriodOption) GetPeriodReturnURLOk ¶
func (o *AioCheckOutCreditPeriodOption) GetPeriodReturnURLOk() (*string, bool)
GetPeriodReturnURLOk returns a tuple with the PeriodReturnURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCreditPeriodOption) GetPeriodType ¶
func (o *AioCheckOutCreditPeriodOption) GetPeriodType() CreditPeriodTypeEnum
GetPeriodType returns the PeriodType field value
func (*AioCheckOutCreditPeriodOption) GetPeriodTypeOk ¶
func (o *AioCheckOutCreditPeriodOption) GetPeriodTypeOk() (*CreditPeriodTypeEnum, bool)
GetPeriodTypeOk returns a tuple with the PeriodType field value and a boolean to check if the value has been set.
func (*AioCheckOutCreditPeriodOption) HasPeriodReturnURL ¶
func (o *AioCheckOutCreditPeriodOption) HasPeriodReturnURL() bool
HasPeriodReturnURL returns a boolean if a field has been set.
func (AioCheckOutCreditPeriodOption) MarshalJSON ¶
func (o AioCheckOutCreditPeriodOption) MarshalJSON() ([]byte, error)
func (*AioCheckOutCreditPeriodOption) SetExecTimes ¶
func (o *AioCheckOutCreditPeriodOption) SetExecTimes(v int)
SetExecTimes sets field value
func (*AioCheckOutCreditPeriodOption) SetFrequency ¶
func (o *AioCheckOutCreditPeriodOption) SetFrequency(v int)
SetFrequency sets field value
func (*AioCheckOutCreditPeriodOption) SetPeriodAmount ¶
func (o *AioCheckOutCreditPeriodOption) SetPeriodAmount(v int)
SetPeriodAmount sets field value
func (*AioCheckOutCreditPeriodOption) SetPeriodReturnURL ¶
func (o *AioCheckOutCreditPeriodOption) SetPeriodReturnURL(v string)
SetPeriodReturnURL gets a reference to the given string and assigns it to the PeriodReturnURL field.
func (*AioCheckOutCreditPeriodOption) SetPeriodType ¶
func (o *AioCheckOutCreditPeriodOption) SetPeriodType(v CreditPeriodTypeEnum)
SetPeriodType sets field value
type AioCheckOutCvsBarcodeOption ¶
type AioCheckOutCvsBarcodeOption struct { // **超商繳費截止時間** 注意事項: `CVS`:以分鐘為單位 `BARCODE`:以天為單位 若未設定此參數,`CVS` 預設為 `10080` 分鐘(`7` 天);BARCODE 預設為 `7` 天。 若需設定此參數,請於建立訂單時將此參數送給綠界。提醒您,CVS 帶入數值不可超過 `86400` 分鐘,超過時一律以 `86400` 分鐘計(`60` 天) 例:`08/01` 的 `20:15` 分購買商品,繳費期限為 `7` 天,表示 `8/08` 的 `20:15` 分前您必須前往超商繳費。 範例: `CVS`=`1440`(共 `1` 天)、`BARCODE`=`7`(共 `7` 天) StoreExpireDate *int `json:"StoreExpireDate,omitempty" form:"StoreExpireDate"` // **交易描述1** 會出現在超商繳費平台螢幕上 Desc1 *string `json:"Desc_1,omitempty" form:"Desc_1"` // **交易描述2** 會出現在超商繳費平台螢幕上 Desc2 *string `json:"Desc_2,omitempty" form:"Desc_2"` // **交易描述3** 會出現在超商繳費平台螢幕上 Desc3 *string `json:"Desc_3,omitempty" form:"Desc_3"` // **交易描述4** 會出現在超商繳費平台螢幕上 Desc4 *string `json:"Desc_4,omitempty" form:"Desc_4"` // **Server 端回傳付款相關資訊** 若有設定此參數,訂單建立完成後(非付款完成),綠界會 Server 端背景回傳消費者付款方式相關資訊(例:繳費代碼與繳費超商)。 請參考[`ATM`、`CVS` 或 `BARCODE` 的取號結果通知.] 注意事項: 頁面將會停留在綠界,顯示繳費的相關資訊。 回傳只有三段號碼,並不會回傳條碼圖,需自行轉換成 code39 的三段條碼。 PaymentInfoURL *string `json:"PaymentInfoURL,omitempty" form:"PaymentInfoURL"` // **Client端回傳付款方式相關資訊** 若有設定此參數,訂單建立完成後(非付款完成),綠界會從 Client 端回傳消費者付款方式相關資訊(例:繳費代碼與繳費超商)且將頁面轉到特店指定的頁面。 請參考[`ATM`、`CVS` 或 `BARCODE` 的取號結果通知.] 注意事項: 若設定此參數,將會使設定的返回特店的按鈕連結[ClientBackURL]失效。 若導回網址未使用 https 時,部份瀏覽器可能會出現警告訊息。 回傳只有三段號碼,並不會回傳條碼圖,需自行轉換成 code39 的三段條碼。 ClientRedirectURL *string `json:"ClientRedirectURL,omitempty" form:"ClientRedirectURL"` }
AioCheckOutCvsBarcodeOption struct for AioCheckOutCvsBarcodeOption
func NewAioCheckOutCvsBarcodeOption ¶
func NewAioCheckOutCvsBarcodeOption() *AioCheckOutCvsBarcodeOption
NewAioCheckOutCvsBarcodeOption instantiates a new AioCheckOutCvsBarcodeOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAioCheckOutCvsBarcodeOptionWithDefaults ¶
func NewAioCheckOutCvsBarcodeOptionWithDefaults() *AioCheckOutCvsBarcodeOption
NewAioCheckOutCvsBarcodeOptionWithDefaults instantiates a new AioCheckOutCvsBarcodeOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AioCheckOutCvsBarcodeOption) GetClientRedirectURL ¶
func (o *AioCheckOutCvsBarcodeOption) GetClientRedirectURL() string
GetClientRedirectURL returns the ClientRedirectURL field value if set, zero value otherwise.
func (*AioCheckOutCvsBarcodeOption) GetClientRedirectURLOk ¶
func (o *AioCheckOutCvsBarcodeOption) GetClientRedirectURLOk() (*string, bool)
GetClientRedirectURLOk returns a tuple with the ClientRedirectURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCvsBarcodeOption) GetDesc1 ¶
func (o *AioCheckOutCvsBarcodeOption) GetDesc1() string
GetDesc1 returns the Desc1 field value if set, zero value otherwise.
func (*AioCheckOutCvsBarcodeOption) GetDesc1Ok ¶
func (o *AioCheckOutCvsBarcodeOption) GetDesc1Ok() (*string, bool)
GetDesc1Ok returns a tuple with the Desc1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCvsBarcodeOption) GetDesc2 ¶
func (o *AioCheckOutCvsBarcodeOption) GetDesc2() string
GetDesc2 returns the Desc2 field value if set, zero value otherwise.
func (*AioCheckOutCvsBarcodeOption) GetDesc2Ok ¶
func (o *AioCheckOutCvsBarcodeOption) GetDesc2Ok() (*string, bool)
GetDesc2Ok returns a tuple with the Desc2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCvsBarcodeOption) GetDesc3 ¶
func (o *AioCheckOutCvsBarcodeOption) GetDesc3() string
GetDesc3 returns the Desc3 field value if set, zero value otherwise.
func (*AioCheckOutCvsBarcodeOption) GetDesc3Ok ¶
func (o *AioCheckOutCvsBarcodeOption) GetDesc3Ok() (*string, bool)
GetDesc3Ok returns a tuple with the Desc3 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCvsBarcodeOption) GetDesc4 ¶
func (o *AioCheckOutCvsBarcodeOption) GetDesc4() string
GetDesc4 returns the Desc4 field value if set, zero value otherwise.
func (*AioCheckOutCvsBarcodeOption) GetDesc4Ok ¶
func (o *AioCheckOutCvsBarcodeOption) GetDesc4Ok() (*string, bool)
GetDesc4Ok returns a tuple with the Desc4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCvsBarcodeOption) GetPaymentInfoURL ¶
func (o *AioCheckOutCvsBarcodeOption) GetPaymentInfoURL() string
GetPaymentInfoURL returns the PaymentInfoURL field value if set, zero value otherwise.
func (*AioCheckOutCvsBarcodeOption) GetPaymentInfoURLOk ¶
func (o *AioCheckOutCvsBarcodeOption) GetPaymentInfoURLOk() (*string, bool)
GetPaymentInfoURLOk returns a tuple with the PaymentInfoURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCvsBarcodeOption) GetStoreExpireDate ¶
func (o *AioCheckOutCvsBarcodeOption) GetStoreExpireDate() int
GetStoreExpireDate returns the StoreExpireDate field value if set, zero value otherwise.
func (*AioCheckOutCvsBarcodeOption) GetStoreExpireDateOk ¶
func (o *AioCheckOutCvsBarcodeOption) GetStoreExpireDateOk() (*int, bool)
GetStoreExpireDateOk returns a tuple with the StoreExpireDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutCvsBarcodeOption) HasClientRedirectURL ¶
func (o *AioCheckOutCvsBarcodeOption) HasClientRedirectURL() bool
HasClientRedirectURL returns a boolean if a field has been set.
func (*AioCheckOutCvsBarcodeOption) HasDesc1 ¶
func (o *AioCheckOutCvsBarcodeOption) HasDesc1() bool
HasDesc1 returns a boolean if a field has been set.
func (*AioCheckOutCvsBarcodeOption) HasDesc2 ¶
func (o *AioCheckOutCvsBarcodeOption) HasDesc2() bool
HasDesc2 returns a boolean if a field has been set.
func (*AioCheckOutCvsBarcodeOption) HasDesc3 ¶
func (o *AioCheckOutCvsBarcodeOption) HasDesc3() bool
HasDesc3 returns a boolean if a field has been set.
func (*AioCheckOutCvsBarcodeOption) HasDesc4 ¶
func (o *AioCheckOutCvsBarcodeOption) HasDesc4() bool
HasDesc4 returns a boolean if a field has been set.
func (*AioCheckOutCvsBarcodeOption) HasPaymentInfoURL ¶
func (o *AioCheckOutCvsBarcodeOption) HasPaymentInfoURL() bool
HasPaymentInfoURL returns a boolean if a field has been set.
func (*AioCheckOutCvsBarcodeOption) HasStoreExpireDate ¶
func (o *AioCheckOutCvsBarcodeOption) HasStoreExpireDate() bool
HasStoreExpireDate returns a boolean if a field has been set.
func (AioCheckOutCvsBarcodeOption) MarshalJSON ¶
func (o AioCheckOutCvsBarcodeOption) MarshalJSON() ([]byte, error)
func (*AioCheckOutCvsBarcodeOption) SetClientRedirectURL ¶
func (o *AioCheckOutCvsBarcodeOption) SetClientRedirectURL(v string)
SetClientRedirectURL gets a reference to the given string and assigns it to the ClientRedirectURL field.
func (*AioCheckOutCvsBarcodeOption) SetDesc1 ¶
func (o *AioCheckOutCvsBarcodeOption) SetDesc1(v string)
SetDesc1 gets a reference to the given string and assigns it to the Desc1 field.
func (*AioCheckOutCvsBarcodeOption) SetDesc2 ¶
func (o *AioCheckOutCvsBarcodeOption) SetDesc2(v string)
SetDesc2 gets a reference to the given string and assigns it to the Desc2 field.
func (*AioCheckOutCvsBarcodeOption) SetDesc3 ¶
func (o *AioCheckOutCvsBarcodeOption) SetDesc3(v string)
SetDesc3 gets a reference to the given string and assigns it to the Desc3 field.
func (*AioCheckOutCvsBarcodeOption) SetDesc4 ¶
func (o *AioCheckOutCvsBarcodeOption) SetDesc4(v string)
SetDesc4 gets a reference to the given string and assigns it to the Desc4 field.
func (*AioCheckOutCvsBarcodeOption) SetPaymentInfoURL ¶
func (o *AioCheckOutCvsBarcodeOption) SetPaymentInfoURL(v string)
SetPaymentInfoURL gets a reference to the given string and assigns it to the PaymentInfoURL field.
func (*AioCheckOutCvsBarcodeOption) SetStoreExpireDate ¶
func (o *AioCheckOutCvsBarcodeOption) SetStoreExpireDate(v int)
SetStoreExpireDate gets a reference to the given int and assigns it to the StoreExpireDate field.
type AioCheckOutGeneralOption ¶
type AioCheckOutGeneralOption struct { // **特店編號(由綠界提供)** MerchantID string `json:"MerchantID" form:"MerchantID"` // **特店交易編號(由特店提供)** 特店交易編號均為唯一值,不可重複使用。 英數字大小寫混合 如何避免訂單編號重複請參考 FAQ 如有使用 `PlatformID` ,平台商底下所有商家之訂單編號亦不可重複。 MerchantTradeNo string `json:"MerchantTradeNo" form:"MerchantTradeNo"` // **特店旗下店舖代號** 提供特店填入分店代號使用,僅可用英數字大小寫混合。 StoreID *string `json:"StoreID,omitempty" form:"StoreID"` // **特店交易時間** 格式為 `yyyy/MM/dd HH:mm:ss` MerchantTradeDate ECPayDateTime `json:"MerchantTradeDate" form:"MerchantTradeDate"` PaymentType AioCheckPaymentTypeEnum `json:"PaymentType" form:"PaymentType"` // **交易金額** 請帶整數,不可有小數點。 僅限新台幣。 各付款金額的限制,請參考 <https://www.ecpay.com.tw/CascadeFAQ/CascadeFAQ_Qa?nID=3605> TotalAmount int `json:"TotalAmount" form:"TotalAmount"` // **交易描述** 傳送到綠界前,請將參數值先做 UrlEncode。 TradeDesc string `json:"TradeDesc" form:"TradeDesc"` // **商品名稱** 1. 如果商品名稱有多筆,需在金流選擇頁一行一行顯示商品名稱的話,商品名稱請以符號#分隔。 2. 商品名稱字數限制為中英數 400 字內,超過此限制系統將自動截斷。 ItemName string `json:"ItemName" form:"ItemName"` // **付款完成通知回傳網址** 當消費者付款完成後,綠界會將付款結果參數以幕後(Server POST)回傳到該網址。 詳細說明請參考付款結果通知 注意事項: 1. 請勿設定與 Client 端接收付款結果網址 OrderResultURL 相同位置,避免程式判斷錯誤。 2. 請在收到 Server 端付款結果通知後,請正確回應 1|OK 給綠界。 ReturnURL string `json:"ReturnURL" form:"ReturnURL"` ChoosePayment ChoosePaymentEnum `json:"ChoosePayment" form:"ChoosePayment"` // **檢查碼** 請參考附錄檢查碼機制與產生檢查碼範例程式 CheckMacValue string `json:"CheckMacValue" form:"CheckMacValue"` // **Client端返回特店的按鈕連結** 消費者點選此按鈕後,會將頁面導回到此設定的網址 注意事項: 導回時不會帶付款結果到此網址,只是將頁面導回而已。 設定此參數,綠界會在付款完成或取號完成頁面上顯示[返回商店]的按鈕。 設定此參數,發生簡訊 OTP 驗證失敗時,頁面上會顯示[返回商店]的按鈕。 若未設定此參數,則綠界付款完成頁或取號完成頁面,不會顯示[返回商店]的按鈕。 若導回網址未使用 https 時,部份瀏覽器可能會出現警告訊息。 ClientBackURL *string `json:"ClientBackURL,omitempty" form:"ClientBackURL"` // **商品銷售網址** ItemURL *string `json:"ItemURL,omitempty" form:"ItemURL"` // **備註欄位** Remark *string `json:"Remark,omitempty" form:"Remark"` ChooseSubPayment *ChooseSubPaymentEnum `json:"ChooseSubPayment,omitempty" form:"ChooseSubPayment"` // **Client端回傳付款結果網址** 當消費者付款完成後,綠界會將付款結果參數以幕前(Client POST)回傳到該網址。 詳細說明請參考付款結果通知 注意事項: 1. 若與[ClientBackURL]同時設定,將會以此參數為主。 2. 銀聯卡及非即時交易(ATM、CVS、BARCODE)不支援此參數。 OrderResultURL *string `json:"OrderResultURL,omitempty" form:"OrderResultURL"` NeedExtraPaidInfo *NeedExtraPaidInfoEnum `json:"NeedExtraPaidInfo,omitempty" form:"NeedExtraPaidInfo"` // **裝置來源** 請帶空值,由系統自動判定。 DeviceSource *string `json:"DeviceSource,omitempty" form:"DeviceSource"` // **隱藏付款** 當付款方式 `ChoosePayment` 為 `ALL` 時,可隱藏不需要的付款方式,多筆請以井號分隔(#)。 可用的參數值: - `Credit`: 信用卡 - `WebATM`: 網路 ATM - `ATM`: 自動櫃員機 - `CVS`: 超商代碼 - `BARCODE`: 超商條碼 IgnorePayment *string `json:"IgnorePayment,omitempty" form:"IgnorePayment"` // **特約合作平台商代號(由綠界提供)** 為專案合作的平台商使用。 一般特店或平台商本身介接,則參數請帶放空值。 若為專案合作平台商的特店使用時,則參數請帶平台商所綁的特店編號 `MerchantID`。 PlatformID *string `json:"PlatformID,omitempty" form:"PlatformID"` InvoiceMark *InvoiceMarkEnum `json:"InvoiceMark,omitempty" form:"InvoiceMark"` // **自訂名稱欄位1** 提供合作廠商使用記錄用客製化使用欄位 注意事項: 特殊符號只支援 `,.#()$[];%{}:/?&@<>!` CustomField1 *string `json:"CustomField1,omitempty" form:"CustomField1"` // **自訂名稱欄位2** 提供合作廠商使用記錄用客製化使用欄位 注意事項: 特殊符號只支援 `,.#()$[];%{}:/?&@<>!` CustomField2 *string `json:"CustomField2,omitempty" form:"CustomField2"` // **自訂名稱欄位3** 提供合作廠商使用記錄用客製化使用欄位 注意事項: 特殊符號只支援 `,.#()$[];%{}:/?&@<>!` CustomField3 *string `json:"CustomField3,omitempty" form:"CustomField3"` // **自訂名稱欄位4** 提供合作廠商使用記錄用客製化使用欄位 注意事項: 特殊符號只支援 `,.#()$[];%{}:/?&@<>!` CustomField4 *string `json:"CustomField4,omitempty" form:"CustomField4"` EncryptType EncryptTypeEnum `json:"EncryptType" form:"EncryptType"` Language *LanguageEnum `json:"Language,omitempty" form:"Language"` }
AioCheckOutGeneralOption struct for AioCheckOutGeneralOption
func NewAioCheckOutGeneralOption ¶
func NewAioCheckOutGeneralOption(merchantID string, merchantTradeNo string, merchantTradeDate ECPayDateTime, paymentType AioCheckPaymentTypeEnum, totalAmount int, tradeDesc string, itemName string, returnURL string, choosePayment ChoosePaymentEnum, checkMacValue string, encryptType EncryptTypeEnum) *AioCheckOutGeneralOption
NewAioCheckOutGeneralOption instantiates a new AioCheckOutGeneralOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAioCheckOutGeneralOptionWithDefaults ¶
func NewAioCheckOutGeneralOptionWithDefaults() *AioCheckOutGeneralOption
NewAioCheckOutGeneralOptionWithDefaults instantiates a new AioCheckOutGeneralOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AioCheckOutGeneralOption) GetCheckMacValue ¶
func (o *AioCheckOutGeneralOption) GetCheckMacValue() string
GetCheckMacValue returns the CheckMacValue field value
func (*AioCheckOutGeneralOption) GetCheckMacValueOk ¶
func (o *AioCheckOutGeneralOption) GetCheckMacValueOk() (*string, bool)
GetCheckMacValueOk returns a tuple with the CheckMacValue field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetChoosePayment ¶
func (o *AioCheckOutGeneralOption) GetChoosePayment() ChoosePaymentEnum
GetChoosePayment returns the ChoosePayment field value
func (*AioCheckOutGeneralOption) GetChoosePaymentOk ¶
func (o *AioCheckOutGeneralOption) GetChoosePaymentOk() (*ChoosePaymentEnum, bool)
GetChoosePaymentOk returns a tuple with the ChoosePayment field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetChooseSubPayment ¶
func (o *AioCheckOutGeneralOption) GetChooseSubPayment() ChooseSubPaymentEnum
GetChooseSubPayment returns the ChooseSubPayment field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetChooseSubPaymentOk ¶
func (o *AioCheckOutGeneralOption) GetChooseSubPaymentOk() (*ChooseSubPaymentEnum, bool)
GetChooseSubPaymentOk returns a tuple with the ChooseSubPayment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetClientBackURL ¶
func (o *AioCheckOutGeneralOption) GetClientBackURL() string
GetClientBackURL returns the ClientBackURL field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetClientBackURLOk ¶
func (o *AioCheckOutGeneralOption) GetClientBackURLOk() (*string, bool)
GetClientBackURLOk returns a tuple with the ClientBackURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetCustomField1 ¶
func (o *AioCheckOutGeneralOption) GetCustomField1() string
GetCustomField1 returns the CustomField1 field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetCustomField1Ok ¶
func (o *AioCheckOutGeneralOption) GetCustomField1Ok() (*string, bool)
GetCustomField1Ok returns a tuple with the CustomField1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetCustomField2 ¶
func (o *AioCheckOutGeneralOption) GetCustomField2() string
GetCustomField2 returns the CustomField2 field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetCustomField2Ok ¶
func (o *AioCheckOutGeneralOption) GetCustomField2Ok() (*string, bool)
GetCustomField2Ok returns a tuple with the CustomField2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetCustomField3 ¶
func (o *AioCheckOutGeneralOption) GetCustomField3() string
GetCustomField3 returns the CustomField3 field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetCustomField3Ok ¶
func (o *AioCheckOutGeneralOption) GetCustomField3Ok() (*string, bool)
GetCustomField3Ok returns a tuple with the CustomField3 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetCustomField4 ¶
func (o *AioCheckOutGeneralOption) GetCustomField4() string
GetCustomField4 returns the CustomField4 field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetCustomField4Ok ¶
func (o *AioCheckOutGeneralOption) GetCustomField4Ok() (*string, bool)
GetCustomField4Ok returns a tuple with the CustomField4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetDeviceSource ¶
func (o *AioCheckOutGeneralOption) GetDeviceSource() string
GetDeviceSource returns the DeviceSource field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetDeviceSourceOk ¶
func (o *AioCheckOutGeneralOption) GetDeviceSourceOk() (*string, bool)
GetDeviceSourceOk returns a tuple with the DeviceSource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetEncryptType ¶
func (o *AioCheckOutGeneralOption) GetEncryptType() EncryptTypeEnum
GetEncryptType returns the EncryptType field value
func (*AioCheckOutGeneralOption) GetEncryptTypeOk ¶
func (o *AioCheckOutGeneralOption) GetEncryptTypeOk() (*EncryptTypeEnum, bool)
GetEncryptTypeOk returns a tuple with the EncryptType field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetIgnorePayment ¶
func (o *AioCheckOutGeneralOption) GetIgnorePayment() string
GetIgnorePayment returns the IgnorePayment field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetIgnorePaymentOk ¶
func (o *AioCheckOutGeneralOption) GetIgnorePaymentOk() (*string, bool)
GetIgnorePaymentOk returns a tuple with the IgnorePayment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetInvoiceMark ¶
func (o *AioCheckOutGeneralOption) GetInvoiceMark() InvoiceMarkEnum
GetInvoiceMark returns the InvoiceMark field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetInvoiceMarkOk ¶
func (o *AioCheckOutGeneralOption) GetInvoiceMarkOk() (*InvoiceMarkEnum, bool)
GetInvoiceMarkOk returns a tuple with the InvoiceMark field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetItemName ¶
func (o *AioCheckOutGeneralOption) GetItemName() string
GetItemName returns the ItemName field value
func (*AioCheckOutGeneralOption) GetItemNameOk ¶
func (o *AioCheckOutGeneralOption) GetItemNameOk() (*string, bool)
GetItemNameOk returns a tuple with the ItemName field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetItemURL ¶
func (o *AioCheckOutGeneralOption) GetItemURL() string
GetItemURL returns the ItemURL field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetItemURLOk ¶
func (o *AioCheckOutGeneralOption) GetItemURLOk() (*string, bool)
GetItemURLOk returns a tuple with the ItemURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetLanguage ¶
func (o *AioCheckOutGeneralOption) GetLanguage() LanguageEnum
GetLanguage returns the Language field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetLanguageOk ¶
func (o *AioCheckOutGeneralOption) GetLanguageOk() (*LanguageEnum, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetMerchantID ¶
func (o *AioCheckOutGeneralOption) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*AioCheckOutGeneralOption) GetMerchantIDOk ¶
func (o *AioCheckOutGeneralOption) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetMerchantTradeDate ¶
func (o *AioCheckOutGeneralOption) GetMerchantTradeDate() ECPayDateTime
GetMerchantTradeDate returns the MerchantTradeDate field value
func (*AioCheckOutGeneralOption) GetMerchantTradeDateOk ¶
func (o *AioCheckOutGeneralOption) GetMerchantTradeDateOk() (*ECPayDateTime, bool)
GetMerchantTradeDateOk returns a tuple with the MerchantTradeDate field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetMerchantTradeNo ¶
func (o *AioCheckOutGeneralOption) GetMerchantTradeNo() string
GetMerchantTradeNo returns the MerchantTradeNo field value
func (*AioCheckOutGeneralOption) GetMerchantTradeNoOk ¶
func (o *AioCheckOutGeneralOption) GetMerchantTradeNoOk() (*string, bool)
GetMerchantTradeNoOk returns a tuple with the MerchantTradeNo field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetNeedExtraPaidInfo ¶
func (o *AioCheckOutGeneralOption) GetNeedExtraPaidInfo() NeedExtraPaidInfoEnum
GetNeedExtraPaidInfo returns the NeedExtraPaidInfo field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetNeedExtraPaidInfoOk ¶
func (o *AioCheckOutGeneralOption) GetNeedExtraPaidInfoOk() (*NeedExtraPaidInfoEnum, bool)
GetNeedExtraPaidInfoOk returns a tuple with the NeedExtraPaidInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetOrderResultURL ¶
func (o *AioCheckOutGeneralOption) GetOrderResultURL() string
GetOrderResultURL returns the OrderResultURL field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetOrderResultURLOk ¶
func (o *AioCheckOutGeneralOption) GetOrderResultURLOk() (*string, bool)
GetOrderResultURLOk returns a tuple with the OrderResultURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetPaymentType ¶
func (o *AioCheckOutGeneralOption) GetPaymentType() AioCheckPaymentTypeEnum
GetPaymentType returns the PaymentType field value
func (*AioCheckOutGeneralOption) GetPaymentTypeOk ¶
func (o *AioCheckOutGeneralOption) GetPaymentTypeOk() (*AioCheckPaymentTypeEnum, bool)
GetPaymentTypeOk returns a tuple with the PaymentType field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetPlatformID ¶
func (o *AioCheckOutGeneralOption) GetPlatformID() string
GetPlatformID returns the PlatformID field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetPlatformIDOk ¶
func (o *AioCheckOutGeneralOption) GetPlatformIDOk() (*string, bool)
GetPlatformIDOk returns a tuple with the PlatformID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetRemark ¶
func (o *AioCheckOutGeneralOption) GetRemark() string
GetRemark returns the Remark field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetRemarkOk ¶
func (o *AioCheckOutGeneralOption) GetRemarkOk() (*string, bool)
GetRemarkOk returns a tuple with the Remark field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetReturnURL ¶
func (o *AioCheckOutGeneralOption) GetReturnURL() string
GetReturnURL returns the ReturnURL field value
func (*AioCheckOutGeneralOption) GetReturnURLOk ¶
func (o *AioCheckOutGeneralOption) GetReturnURLOk() (*string, bool)
GetReturnURLOk returns a tuple with the ReturnURL field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetStoreID ¶
func (o *AioCheckOutGeneralOption) GetStoreID() string
GetStoreID returns the StoreID field value if set, zero value otherwise.
func (*AioCheckOutGeneralOption) GetStoreIDOk ¶
func (o *AioCheckOutGeneralOption) GetStoreIDOk() (*string, bool)
GetStoreIDOk returns a tuple with the StoreID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetTotalAmount ¶
func (o *AioCheckOutGeneralOption) GetTotalAmount() int
GetTotalAmount returns the TotalAmount field value
func (*AioCheckOutGeneralOption) GetTotalAmountOk ¶
func (o *AioCheckOutGeneralOption) GetTotalAmountOk() (*int, bool)
GetTotalAmountOk returns a tuple with the TotalAmount field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) GetTradeDesc ¶
func (o *AioCheckOutGeneralOption) GetTradeDesc() string
GetTradeDesc returns the TradeDesc field value
func (*AioCheckOutGeneralOption) GetTradeDescOk ¶
func (o *AioCheckOutGeneralOption) GetTradeDescOk() (*string, bool)
GetTradeDescOk returns a tuple with the TradeDesc field value and a boolean to check if the value has been set.
func (*AioCheckOutGeneralOption) HasChooseSubPayment ¶
func (o *AioCheckOutGeneralOption) HasChooseSubPayment() bool
HasChooseSubPayment returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasClientBackURL ¶
func (o *AioCheckOutGeneralOption) HasClientBackURL() bool
HasClientBackURL returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasCustomField1 ¶
func (o *AioCheckOutGeneralOption) HasCustomField1() bool
HasCustomField1 returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasCustomField2 ¶
func (o *AioCheckOutGeneralOption) HasCustomField2() bool
HasCustomField2 returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasCustomField3 ¶
func (o *AioCheckOutGeneralOption) HasCustomField3() bool
HasCustomField3 returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasCustomField4 ¶
func (o *AioCheckOutGeneralOption) HasCustomField4() bool
HasCustomField4 returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasDeviceSource ¶
func (o *AioCheckOutGeneralOption) HasDeviceSource() bool
HasDeviceSource returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasIgnorePayment ¶
func (o *AioCheckOutGeneralOption) HasIgnorePayment() bool
HasIgnorePayment returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasInvoiceMark ¶
func (o *AioCheckOutGeneralOption) HasInvoiceMark() bool
HasInvoiceMark returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasItemURL ¶
func (o *AioCheckOutGeneralOption) HasItemURL() bool
HasItemURL returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasLanguage ¶
func (o *AioCheckOutGeneralOption) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasNeedExtraPaidInfo ¶
func (o *AioCheckOutGeneralOption) HasNeedExtraPaidInfo() bool
HasNeedExtraPaidInfo returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasOrderResultURL ¶
func (o *AioCheckOutGeneralOption) HasOrderResultURL() bool
HasOrderResultURL returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasPlatformID ¶
func (o *AioCheckOutGeneralOption) HasPlatformID() bool
HasPlatformID returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasRemark ¶
func (o *AioCheckOutGeneralOption) HasRemark() bool
HasRemark returns a boolean if a field has been set.
func (*AioCheckOutGeneralOption) HasStoreID ¶
func (o *AioCheckOutGeneralOption) HasStoreID() bool
HasStoreID returns a boolean if a field has been set.
func (AioCheckOutGeneralOption) MarshalJSON ¶
func (o AioCheckOutGeneralOption) MarshalJSON() ([]byte, error)
func (*AioCheckOutGeneralOption) SetCheckMacValue ¶
func (o *AioCheckOutGeneralOption) SetCheckMacValue(v string)
SetCheckMacValue sets field value
func (*AioCheckOutGeneralOption) SetChoosePayment ¶
func (o *AioCheckOutGeneralOption) SetChoosePayment(v ChoosePaymentEnum)
SetChoosePayment sets field value
func (*AioCheckOutGeneralOption) SetChooseSubPayment ¶
func (o *AioCheckOutGeneralOption) SetChooseSubPayment(v ChooseSubPaymentEnum)
SetChooseSubPayment gets a reference to the given ChooseSubPaymentEnum and assigns it to the ChooseSubPayment field.
func (*AioCheckOutGeneralOption) SetClientBackURL ¶
func (o *AioCheckOutGeneralOption) SetClientBackURL(v string)
SetClientBackURL gets a reference to the given string and assigns it to the ClientBackURL field.
func (*AioCheckOutGeneralOption) SetCustomField1 ¶
func (o *AioCheckOutGeneralOption) SetCustomField1(v string)
SetCustomField1 gets a reference to the given string and assigns it to the CustomField1 field.
func (*AioCheckOutGeneralOption) SetCustomField2 ¶
func (o *AioCheckOutGeneralOption) SetCustomField2(v string)
SetCustomField2 gets a reference to the given string and assigns it to the CustomField2 field.
func (*AioCheckOutGeneralOption) SetCustomField3 ¶
func (o *AioCheckOutGeneralOption) SetCustomField3(v string)
SetCustomField3 gets a reference to the given string and assigns it to the CustomField3 field.
func (*AioCheckOutGeneralOption) SetCustomField4 ¶
func (o *AioCheckOutGeneralOption) SetCustomField4(v string)
SetCustomField4 gets a reference to the given string and assigns it to the CustomField4 field.
func (*AioCheckOutGeneralOption) SetDeviceSource ¶
func (o *AioCheckOutGeneralOption) SetDeviceSource(v string)
SetDeviceSource gets a reference to the given string and assigns it to the DeviceSource field.
func (*AioCheckOutGeneralOption) SetEncryptType ¶
func (o *AioCheckOutGeneralOption) SetEncryptType(v EncryptTypeEnum)
SetEncryptType sets field value
func (*AioCheckOutGeneralOption) SetIgnorePayment ¶
func (o *AioCheckOutGeneralOption) SetIgnorePayment(v string)
SetIgnorePayment gets a reference to the given string and assigns it to the IgnorePayment field.
func (*AioCheckOutGeneralOption) SetInvoiceMark ¶
func (o *AioCheckOutGeneralOption) SetInvoiceMark(v InvoiceMarkEnum)
SetInvoiceMark gets a reference to the given InvoiceMarkEnum and assigns it to the InvoiceMark field.
func (*AioCheckOutGeneralOption) SetItemName ¶
func (o *AioCheckOutGeneralOption) SetItemName(v string)
SetItemName sets field value
func (*AioCheckOutGeneralOption) SetItemURL ¶
func (o *AioCheckOutGeneralOption) SetItemURL(v string)
SetItemURL gets a reference to the given string and assigns it to the ItemURL field.
func (*AioCheckOutGeneralOption) SetLanguage ¶
func (o *AioCheckOutGeneralOption) SetLanguage(v LanguageEnum)
SetLanguage gets a reference to the given LanguageEnum and assigns it to the Language field.
func (*AioCheckOutGeneralOption) SetMerchantID ¶
func (o *AioCheckOutGeneralOption) SetMerchantID(v string)
SetMerchantID sets field value
func (*AioCheckOutGeneralOption) SetMerchantTradeDate ¶
func (o *AioCheckOutGeneralOption) SetMerchantTradeDate(v ECPayDateTime)
SetMerchantTradeDate sets field value
func (*AioCheckOutGeneralOption) SetMerchantTradeNo ¶
func (o *AioCheckOutGeneralOption) SetMerchantTradeNo(v string)
SetMerchantTradeNo sets field value
func (*AioCheckOutGeneralOption) SetNeedExtraPaidInfo ¶
func (o *AioCheckOutGeneralOption) SetNeedExtraPaidInfo(v NeedExtraPaidInfoEnum)
SetNeedExtraPaidInfo gets a reference to the given NeedExtraPaidInfoEnum and assigns it to the NeedExtraPaidInfo field.
func (*AioCheckOutGeneralOption) SetOrderResultURL ¶
func (o *AioCheckOutGeneralOption) SetOrderResultURL(v string)
SetOrderResultURL gets a reference to the given string and assigns it to the OrderResultURL field.
func (*AioCheckOutGeneralOption) SetPaymentType ¶
func (o *AioCheckOutGeneralOption) SetPaymentType(v AioCheckPaymentTypeEnum)
SetPaymentType sets field value
func (*AioCheckOutGeneralOption) SetPlatformID ¶
func (o *AioCheckOutGeneralOption) SetPlatformID(v string)
SetPlatformID gets a reference to the given string and assigns it to the PlatformID field.
func (*AioCheckOutGeneralOption) SetRemark ¶
func (o *AioCheckOutGeneralOption) SetRemark(v string)
SetRemark gets a reference to the given string and assigns it to the Remark field.
func (*AioCheckOutGeneralOption) SetReturnURL ¶
func (o *AioCheckOutGeneralOption) SetReturnURL(v string)
SetReturnURL sets field value
func (*AioCheckOutGeneralOption) SetStoreID ¶
func (o *AioCheckOutGeneralOption) SetStoreID(v string)
SetStoreID gets a reference to the given string and assigns it to the StoreID field.
func (*AioCheckOutGeneralOption) SetTotalAmount ¶
func (o *AioCheckOutGeneralOption) SetTotalAmount(v int)
SetTotalAmount sets field value
func (*AioCheckOutGeneralOption) SetTradeDesc ¶
func (o *AioCheckOutGeneralOption) SetTradeDesc(v string)
SetTradeDesc sets field value
type AioCheckOutInvoiceOption ¶
type AioCheckOutInvoiceOption struct { // **特店自訂編號** 此為特店自訂編號,編號均為唯一值不可重複使用。 RelateNumber string `json:"RelateNumber" form:"RelateNumber"` // **客戶編號** 該參數有值時,僅接受『英文、數字、下底線』等字元。 CustomerID *string `json:"CustomerID,omitempty" form:"CustomerID"` // **統一編號** 該參數有值時,請帶固定長度為數字 8 碼。 CustomerIdentifier *string `json:"CustomerIdentifier,omitempty" form:"CustomerIdentifier"` // **客戶名稱** 當列印註記`Print`為 `1`(列印)時,則該參數必須有值。 該參數有值時,僅接受『中、英文及數字』等字元。 請將參數值做 UrlEncode 方式編碼。 CustomerName *string `json:"CustomerName,omitempty" form:"CustomerName"` // **客戶地址** 當列印註記`Print`為 `1`(列印)時,則該參數必須有值。 當該參數有值時,請注意特殊字元轉換 。 請將參數值做 UrlEncode 方式編碼。 CustomerAddr *string `json:"CustomerAddr,omitempty" form:"CustomerAddr"` // **客戶手機號碼** 當客戶電子信箱`CustomerEmail`為空字串時,則該參數必須有值。 當該參數有值時,則格式為數字。 注意事項: 請填手機號碼,不能填市話因為要收簡訊通知用 CustomerPhone *string `json:"CustomerPhone,omitempty" form:"CustomerPhone"` // **客戶電子信箱** 當客戶手機號碼`CustomerPhone`為空字串時,則該參數必須有值。 當該參數有值時,則格式需符合 EMAIL格式。 請將參數值做 UrlEncode 方式編碼。 CustomerEmail *string `json:"CustomerEmail,omitempty" form:"CustomerEmail"` ClearanceMark *ClearanceMarkEnum `json:"ClearanceMark,omitempty" form:"ClearanceMark"` TaxType TaxTypeEnum `json:"TaxType" form:"TaxType"` CarruerType *CarruerTypeEnum `json:"CarruerType,omitempty" form:"CarruerType"` // **載具編號** 1. 當載具類別 `CarruerType`=“無載具),請帶空字串。 2. 當載具類別`CarruerType`=`1`(綠界科技電子發票載具)時,請帶空字串,系統會自動帶入值,為合作特店載具統一編號+自訂編號(RelateNumber)。 3. 當載具類別`CarruerType`=`2`(買受人之自然人憑證)時,則請帶固定長度為16且格式 為2碼大寫英文字母加上14碼數字。 4. 當載具類別`CarruerType`=`3`(買受人之手機條碼)時,則請帶固定長度為 8且格式為 1 碼斜線「/」加上由 7 碼數字及大寫英文字母及+-.符號組成。 注意事項: 1. 若手機條碼中有加號,可能在介接驗證時 發生錯誤,請將加號改為空白字元,產生 驗證碼。 2. 英文、數字、符號僅接受半形字 3. 若載具編號為手機條碼載具時,請先呼叫B2C電子發票介接技術文件手機條碼載驗證API進行檢核 CarruerNum *string `json:"CarruerNum,omitempty" form:"CarruerNum"` Donation InvoiceDonationEunm `json:"Donation" form:"Donation"` // **捐贈碼** 消費者選擇捐贈發票則於此欄位須填入受贈單位之捐贈碼。 1. 若捐贈註記 `Donation`= `1` (捐贈)時,此欄位須有值。 2. 捐贈碼以阿拉伯數字為限,最少三碼,最多七碼。內容定位採「文字格式」,首位可以為零。 LoveCode *string `json:"LoveCode,omitempty" form:"LoveCode"` Print InvoicePrintEnum `json:"Print" form:"Print"` // **商品名稱** 預設不可為空字串且格式為 名稱 1 | 名稱 2 | 名稱 3 | … | 名稱 n,當含有二筆或以上的商品名稱時,則以「|」符號區隔。 將參數值以 UrlEncode 方式編碼。 InvoiceItemName string `json:"InvoiceItemName" form:"InvoiceItemName"` // **商品數量** 預設不可為空字串且格式為 數量 1 | 數量 2 | 數量 3 | … | 數量 n,當含有二筆或以上的商品名稱時,則以「|」符號區隔。 InvoiceItemCount string `json:"InvoiceItemCount" form:"InvoiceItemCount"` // **商品單位** 商品單位若超過二筆以上請以「|」符號區隔單位最大長度為 6 碼。 請將參數做 UrlEncode 方式編碼。 InvoiceItemWord string `json:"InvoiceItemWord" form:"InvoiceItemWord"` // **商品價格** 預設不可為空字串且格式為 價格 1 | 價格 2 | 價格 3 | … | 價格 n,當含有二筆或以上的商品價格時,則以「|」符號區隔。 InvoiceItemPrice string `json:"InvoiceItemPrice" form:"InvoiceItemPrice"` // **商品課稅別** 1:應稅 2:零稅率 3:免稅 注意事項: 1. 預設為空字串,當課稅類別 [TaxType] = 9 時,此欄位不可為空。 2. 格式為課稅 類別 1 | 課稅類別 2 | 課稅類別 3 | … | 課稅類別 n。當含有二筆或以上的商品課稅類別時,則以「|」符號區隔。 3. 課稅類別為混合稅率時,需含二筆或 以 上 的 商 品 課 稅 別[InvoiceItemTaxType],且至少需有一筆商品課稅別為應稅及至少需有一筆商品課稅別為免稅或零稅率,即混稅發票只能 1.應稅+免稅 2.應稅+零稅率,免稅和零稅率發票不能同時開立。 InvoiceItemTaxType *string `json:"InvoiceItemTaxType,omitempty" form:"InvoiceItemTaxType"` // **備註** 當該參數有值時,請將參數值做UrlEncode 方式編碼。 InvoiceRemark *string `json:"InvoiceRemark,omitempty" form:"InvoiceRemark"` // **延遲天數** 本參數值請帶 0~15(天),當天數為 0 時,則付款完成後立即開立發票。 DelayDay int `json:"DelayDay" form:"DelayDay"` // **字軌類別** 若為一般稅額時,請帶 07。 預設值:07 InvType string `json:"InvType" form:"InvType"` }
AioCheckOutInvoiceOption struct for AioCheckOutInvoiceOption
func NewAioCheckOutInvoiceOption ¶
func NewAioCheckOutInvoiceOption(relateNumber string, taxType TaxTypeEnum, donation InvoiceDonationEunm, print InvoicePrintEnum, invoiceItemName string, invoiceItemCount string, invoiceItemWord string, invoiceItemPrice string, delayDay int, invType string) *AioCheckOutInvoiceOption
NewAioCheckOutInvoiceOption instantiates a new AioCheckOutInvoiceOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAioCheckOutInvoiceOptionWithDefaults ¶
func NewAioCheckOutInvoiceOptionWithDefaults() *AioCheckOutInvoiceOption
NewAioCheckOutInvoiceOptionWithDefaults instantiates a new AioCheckOutInvoiceOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AioCheckOutInvoiceOption) GetCarruerNum ¶
func (o *AioCheckOutInvoiceOption) GetCarruerNum() string
GetCarruerNum returns the CarruerNum field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetCarruerNumOk ¶
func (o *AioCheckOutInvoiceOption) GetCarruerNumOk() (*string, bool)
GetCarruerNumOk returns a tuple with the CarruerNum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetCarruerType ¶
func (o *AioCheckOutInvoiceOption) GetCarruerType() CarruerTypeEnum
GetCarruerType returns the CarruerType field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetCarruerTypeOk ¶
func (o *AioCheckOutInvoiceOption) GetCarruerTypeOk() (*CarruerTypeEnum, bool)
GetCarruerTypeOk returns a tuple with the CarruerType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetClearanceMark ¶
func (o *AioCheckOutInvoiceOption) GetClearanceMark() ClearanceMarkEnum
GetClearanceMark returns the ClearanceMark field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetClearanceMarkOk ¶
func (o *AioCheckOutInvoiceOption) GetClearanceMarkOk() (*ClearanceMarkEnum, bool)
GetClearanceMarkOk returns a tuple with the ClearanceMark field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetCustomerAddr ¶
func (o *AioCheckOutInvoiceOption) GetCustomerAddr() string
GetCustomerAddr returns the CustomerAddr field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetCustomerAddrOk ¶
func (o *AioCheckOutInvoiceOption) GetCustomerAddrOk() (*string, bool)
GetCustomerAddrOk returns a tuple with the CustomerAddr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetCustomerEmail ¶
func (o *AioCheckOutInvoiceOption) GetCustomerEmail() string
GetCustomerEmail returns the CustomerEmail field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetCustomerEmailOk ¶
func (o *AioCheckOutInvoiceOption) GetCustomerEmailOk() (*string, bool)
GetCustomerEmailOk returns a tuple with the CustomerEmail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetCustomerID ¶
func (o *AioCheckOutInvoiceOption) GetCustomerID() string
GetCustomerID returns the CustomerID field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetCustomerIDOk ¶
func (o *AioCheckOutInvoiceOption) GetCustomerIDOk() (*string, bool)
GetCustomerIDOk returns a tuple with the CustomerID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetCustomerIdentifier ¶
func (o *AioCheckOutInvoiceOption) GetCustomerIdentifier() string
GetCustomerIdentifier returns the CustomerIdentifier field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetCustomerIdentifierOk ¶
func (o *AioCheckOutInvoiceOption) GetCustomerIdentifierOk() (*string, bool)
GetCustomerIdentifierOk returns a tuple with the CustomerIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetCustomerName ¶
func (o *AioCheckOutInvoiceOption) GetCustomerName() string
GetCustomerName returns the CustomerName field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetCustomerNameOk ¶
func (o *AioCheckOutInvoiceOption) GetCustomerNameOk() (*string, bool)
GetCustomerNameOk returns a tuple with the CustomerName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetCustomerPhone ¶
func (o *AioCheckOutInvoiceOption) GetCustomerPhone() string
GetCustomerPhone returns the CustomerPhone field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetCustomerPhoneOk ¶
func (o *AioCheckOutInvoiceOption) GetCustomerPhoneOk() (*string, bool)
GetCustomerPhoneOk returns a tuple with the CustomerPhone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetDelayDay ¶
func (o *AioCheckOutInvoiceOption) GetDelayDay() int
GetDelayDay returns the DelayDay field value
func (*AioCheckOutInvoiceOption) GetDelayDayOk ¶
func (o *AioCheckOutInvoiceOption) GetDelayDayOk() (*int, bool)
GetDelayDayOk returns a tuple with the DelayDay field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetDonation ¶
func (o *AioCheckOutInvoiceOption) GetDonation() InvoiceDonationEunm
GetDonation returns the Donation field value
func (*AioCheckOutInvoiceOption) GetDonationOk ¶
func (o *AioCheckOutInvoiceOption) GetDonationOk() (*InvoiceDonationEunm, bool)
GetDonationOk returns a tuple with the Donation field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetInvType ¶
func (o *AioCheckOutInvoiceOption) GetInvType() string
GetInvType returns the InvType field value
func (*AioCheckOutInvoiceOption) GetInvTypeOk ¶
func (o *AioCheckOutInvoiceOption) GetInvTypeOk() (*string, bool)
GetInvTypeOk returns a tuple with the InvType field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetInvoiceItemCount ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemCount() string
GetInvoiceItemCount returns the InvoiceItemCount field value
func (*AioCheckOutInvoiceOption) GetInvoiceItemCountOk ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemCountOk() (*string, bool)
GetInvoiceItemCountOk returns a tuple with the InvoiceItemCount field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetInvoiceItemName ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemName() string
GetInvoiceItemName returns the InvoiceItemName field value
func (*AioCheckOutInvoiceOption) GetInvoiceItemNameOk ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemNameOk() (*string, bool)
GetInvoiceItemNameOk returns a tuple with the InvoiceItemName field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetInvoiceItemPrice ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemPrice() string
GetInvoiceItemPrice returns the InvoiceItemPrice field value
func (*AioCheckOutInvoiceOption) GetInvoiceItemPriceOk ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemPriceOk() (*string, bool)
GetInvoiceItemPriceOk returns a tuple with the InvoiceItemPrice field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetInvoiceItemTaxType ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemTaxType() string
GetInvoiceItemTaxType returns the InvoiceItemTaxType field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetInvoiceItemTaxTypeOk ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemTaxTypeOk() (*string, bool)
GetInvoiceItemTaxTypeOk returns a tuple with the InvoiceItemTaxType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetInvoiceItemWord ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemWord() string
GetInvoiceItemWord returns the InvoiceItemWord field value
func (*AioCheckOutInvoiceOption) GetInvoiceItemWordOk ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceItemWordOk() (*string, bool)
GetInvoiceItemWordOk returns a tuple with the InvoiceItemWord field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetInvoiceRemark ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceRemark() string
GetInvoiceRemark returns the InvoiceRemark field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetInvoiceRemarkOk ¶
func (o *AioCheckOutInvoiceOption) GetInvoiceRemarkOk() (*string, bool)
GetInvoiceRemarkOk returns a tuple with the InvoiceRemark field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetLoveCode ¶
func (o *AioCheckOutInvoiceOption) GetLoveCode() string
GetLoveCode returns the LoveCode field value if set, zero value otherwise.
func (*AioCheckOutInvoiceOption) GetLoveCodeOk ¶
func (o *AioCheckOutInvoiceOption) GetLoveCodeOk() (*string, bool)
GetLoveCodeOk returns a tuple with the LoveCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetPrint ¶
func (o *AioCheckOutInvoiceOption) GetPrint() InvoicePrintEnum
GetPrint returns the Print field value
func (*AioCheckOutInvoiceOption) GetPrintOk ¶
func (o *AioCheckOutInvoiceOption) GetPrintOk() (*InvoicePrintEnum, bool)
GetPrintOk returns a tuple with the Print field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetRelateNumber ¶
func (o *AioCheckOutInvoiceOption) GetRelateNumber() string
GetRelateNumber returns the RelateNumber field value
func (*AioCheckOutInvoiceOption) GetRelateNumberOk ¶
func (o *AioCheckOutInvoiceOption) GetRelateNumberOk() (*string, bool)
GetRelateNumberOk returns a tuple with the RelateNumber field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) GetTaxType ¶
func (o *AioCheckOutInvoiceOption) GetTaxType() TaxTypeEnum
GetTaxType returns the TaxType field value
func (*AioCheckOutInvoiceOption) GetTaxTypeOk ¶
func (o *AioCheckOutInvoiceOption) GetTaxTypeOk() (*TaxTypeEnum, bool)
GetTaxTypeOk returns a tuple with the TaxType field value and a boolean to check if the value has been set.
func (*AioCheckOutInvoiceOption) HasCarruerNum ¶
func (o *AioCheckOutInvoiceOption) HasCarruerNum() bool
HasCarruerNum returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasCarruerType ¶
func (o *AioCheckOutInvoiceOption) HasCarruerType() bool
HasCarruerType returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasClearanceMark ¶
func (o *AioCheckOutInvoiceOption) HasClearanceMark() bool
HasClearanceMark returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasCustomerAddr ¶
func (o *AioCheckOutInvoiceOption) HasCustomerAddr() bool
HasCustomerAddr returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasCustomerEmail ¶
func (o *AioCheckOutInvoiceOption) HasCustomerEmail() bool
HasCustomerEmail returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasCustomerID ¶
func (o *AioCheckOutInvoiceOption) HasCustomerID() bool
HasCustomerID returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasCustomerIdentifier ¶
func (o *AioCheckOutInvoiceOption) HasCustomerIdentifier() bool
HasCustomerIdentifier returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasCustomerName ¶
func (o *AioCheckOutInvoiceOption) HasCustomerName() bool
HasCustomerName returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasCustomerPhone ¶
func (o *AioCheckOutInvoiceOption) HasCustomerPhone() bool
HasCustomerPhone returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasInvoiceItemTaxType ¶
func (o *AioCheckOutInvoiceOption) HasInvoiceItemTaxType() bool
HasInvoiceItemTaxType returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasInvoiceRemark ¶
func (o *AioCheckOutInvoiceOption) HasInvoiceRemark() bool
HasInvoiceRemark returns a boolean if a field has been set.
func (*AioCheckOutInvoiceOption) HasLoveCode ¶
func (o *AioCheckOutInvoiceOption) HasLoveCode() bool
HasLoveCode returns a boolean if a field has been set.
func (AioCheckOutInvoiceOption) MarshalJSON ¶
func (o AioCheckOutInvoiceOption) MarshalJSON() ([]byte, error)
func (*AioCheckOutInvoiceOption) SetCarruerNum ¶
func (o *AioCheckOutInvoiceOption) SetCarruerNum(v string)
SetCarruerNum gets a reference to the given string and assigns it to the CarruerNum field.
func (*AioCheckOutInvoiceOption) SetCarruerType ¶
func (o *AioCheckOutInvoiceOption) SetCarruerType(v CarruerTypeEnum)
SetCarruerType gets a reference to the given CarruerTypeEnum and assigns it to the CarruerType field.
func (*AioCheckOutInvoiceOption) SetClearanceMark ¶
func (o *AioCheckOutInvoiceOption) SetClearanceMark(v ClearanceMarkEnum)
SetClearanceMark gets a reference to the given ClearanceMarkEnum and assigns it to the ClearanceMark field.
func (*AioCheckOutInvoiceOption) SetCustomerAddr ¶
func (o *AioCheckOutInvoiceOption) SetCustomerAddr(v string)
SetCustomerAddr gets a reference to the given string and assigns it to the CustomerAddr field.
func (*AioCheckOutInvoiceOption) SetCustomerEmail ¶
func (o *AioCheckOutInvoiceOption) SetCustomerEmail(v string)
SetCustomerEmail gets a reference to the given string and assigns it to the CustomerEmail field.
func (*AioCheckOutInvoiceOption) SetCustomerID ¶
func (o *AioCheckOutInvoiceOption) SetCustomerID(v string)
SetCustomerID gets a reference to the given string and assigns it to the CustomerID field.
func (*AioCheckOutInvoiceOption) SetCustomerIdentifier ¶
func (o *AioCheckOutInvoiceOption) SetCustomerIdentifier(v string)
SetCustomerIdentifier gets a reference to the given string and assigns it to the CustomerIdentifier field.
func (*AioCheckOutInvoiceOption) SetCustomerName ¶
func (o *AioCheckOutInvoiceOption) SetCustomerName(v string)
SetCustomerName gets a reference to the given string and assigns it to the CustomerName field.
func (*AioCheckOutInvoiceOption) SetCustomerPhone ¶
func (o *AioCheckOutInvoiceOption) SetCustomerPhone(v string)
SetCustomerPhone gets a reference to the given string and assigns it to the CustomerPhone field.
func (*AioCheckOutInvoiceOption) SetDelayDay ¶
func (o *AioCheckOutInvoiceOption) SetDelayDay(v int)
SetDelayDay sets field value
func (*AioCheckOutInvoiceOption) SetDonation ¶
func (o *AioCheckOutInvoiceOption) SetDonation(v InvoiceDonationEunm)
SetDonation sets field value
func (*AioCheckOutInvoiceOption) SetInvType ¶
func (o *AioCheckOutInvoiceOption) SetInvType(v string)
SetInvType sets field value
func (*AioCheckOutInvoiceOption) SetInvoiceItemCount ¶
func (o *AioCheckOutInvoiceOption) SetInvoiceItemCount(v string)
SetInvoiceItemCount sets field value
func (*AioCheckOutInvoiceOption) SetInvoiceItemName ¶
func (o *AioCheckOutInvoiceOption) SetInvoiceItemName(v string)
SetInvoiceItemName sets field value
func (*AioCheckOutInvoiceOption) SetInvoiceItemPrice ¶
func (o *AioCheckOutInvoiceOption) SetInvoiceItemPrice(v string)
SetInvoiceItemPrice sets field value
func (*AioCheckOutInvoiceOption) SetInvoiceItemTaxType ¶
func (o *AioCheckOutInvoiceOption) SetInvoiceItemTaxType(v string)
SetInvoiceItemTaxType gets a reference to the given string and assigns it to the InvoiceItemTaxType field.
func (*AioCheckOutInvoiceOption) SetInvoiceItemWord ¶
func (o *AioCheckOutInvoiceOption) SetInvoiceItemWord(v string)
SetInvoiceItemWord sets field value
func (*AioCheckOutInvoiceOption) SetInvoiceRemark ¶
func (o *AioCheckOutInvoiceOption) SetInvoiceRemark(v string)
SetInvoiceRemark gets a reference to the given string and assigns it to the InvoiceRemark field.
func (*AioCheckOutInvoiceOption) SetLoveCode ¶
func (o *AioCheckOutInvoiceOption) SetLoveCode(v string)
SetLoveCode gets a reference to the given string and assigns it to the LoveCode field.
func (*AioCheckOutInvoiceOption) SetPrint ¶
func (o *AioCheckOutInvoiceOption) SetPrint(v InvoicePrintEnum)
SetPrint sets field value
func (*AioCheckOutInvoiceOption) SetRelateNumber ¶
func (o *AioCheckOutInvoiceOption) SetRelateNumber(v string)
SetRelateNumber sets field value
func (*AioCheckOutInvoiceOption) SetTaxType ¶
func (o *AioCheckOutInvoiceOption) SetTaxType(v TaxTypeEnum)
SetTaxType sets field value
type AioCheckPaymentTypeEnum ¶
type AioCheckPaymentTypeEnum string
AioCheckPaymentTypeEnum **交易類型** 請固定填入 `aio`
const (
AIOCHECKPAYMENTTYPEENUM_AIO AioCheckPaymentTypeEnum = "aio"
)
List of AioCheckPaymentTypeEnum
func (AioCheckPaymentTypeEnum) Ptr ¶
func (v AioCheckPaymentTypeEnum) Ptr() *AioCheckPaymentTypeEnum
Ptr returns reference to AioCheckPaymentTypeEnum value
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BindingCardEnum ¶
type BindingCardEnum int
BindingCardEnum **記憶卡號** 使用記憶信用卡 使用:請傳 `1` 不使用:請傳 `0`
const ( BINDINGCARDENUM_BINDING BindingCardEnum = 1 BINDINGCARDENUM_NOT_BINDING BindingCardEnum = 0 )
List of BindingCardEnum
func (BindingCardEnum) Ptr ¶
func (v BindingCardEnum) Ptr() *BindingCardEnum
Ptr returns reference to BindingCardEnum value
type CallBackApiService ¶
type CallBackApiService service
CallBackApiService CallBackApi service
func (*CallBackApiService) CallbackPeriodReturnURLPost ¶
func (a *CallBackApiService) CallbackPeriodReturnURLPost(ctx _context.Context) apiCallbackPeriodReturnURLPostRequest
CallbackPeriodReturnURLPost Method for CallbackPeriodReturnURLPost 付款結果通知
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiCallbackPeriodReturnURLPostRequest
func (*CallBackApiService) CallbackReturnURLPost ¶
func (a *CallBackApiService) CallbackReturnURLPost(ctx _context.Context) apiCallbackReturnURLPostRequest
CallbackReturnURLPost Method for CallbackReturnURLPost 付款結果通知
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiCallbackReturnURLPostRequest
type CarruerTypeEnum ¶
type CarruerTypeEnum string
CarruerTypeEnum **載具類別** 若為無載具時,則請帶空字串。 若為特店載具時,則請帶 `1`。 若為買受人之自然人憑證號碼時,則請帶 `2`。 若為買受人之手機條碼資料時,則請帶`3`。 若統一編號 `CustomerIdentifier` 有值時,則載具類別不可為特店載具或自然人憑證載具。 注意事項:當`Print`有值時,載具類別不得有值。
const ( CARRUERTYPEENUM_NO_CARRIER CarruerTypeEnum = "" CARRUERTYPEENUM_SHOP_CARRIER CarruerTypeEnum = "1" CARRUERTYPEENUM_NATURAL_PERSON_CERTIFICATE_CARRIER CarruerTypeEnum = "2" CARRUERTYPEENUM_PHONE_BARCODE_CARRIER CarruerTypeEnum = "3" )
List of CarruerTypeEnum
func (CarruerTypeEnum) Ptr ¶
func (v CarruerTypeEnum) Ptr() *CarruerTypeEnum
Ptr returns reference to CarruerTypeEnum value
type ChoosePaymentEnum ¶
type ChoosePaymentEnum string
ChoosePaymentEnum **選擇預設付款方式** 綠界提供下列付款方式,請於建立訂單時傳送過來: - `Credit`: 信用卡及銀聯卡(需申請開通) - `WebATM`: 網路 ATM - `ATM`: 自動櫃員機 - `CVS`: 超商代碼 - `BARCODE`: 超商條碼 - `ALL`: 不指定付款方式,由綠界顯示付款方式選擇頁面。 注意事項: 1.若為手機版時不支援下列付款方式: - WebATM:網路 ATM 2.如需要不透過綠界畫面取得 `ATM`、`CVS`、`BARCODE` 的繳費代碼,請參考 FAQ。
const ( CHOOSEPAYMENTENUM_CREDIT ChoosePaymentEnum = "Credit" CHOOSEPAYMENTENUM_WEB_ATM ChoosePaymentEnum = "WebATM" CHOOSEPAYMENTENUM_ATM ChoosePaymentEnum = "ATM" CHOOSEPAYMENTENUM_CVS ChoosePaymentEnum = "CVS" CHOOSEPAYMENTENUM_BARCODE ChoosePaymentEnum = "BARCODE" CHOOSEPAYMENTENUM_ALL ChoosePaymentEnum = "ALL" )
List of ChoosePaymentEnum
func (ChoosePaymentEnum) Ptr ¶
func (v ChoosePaymentEnum) Ptr() *ChoosePaymentEnum
Ptr returns reference to ChoosePaymentEnum value
type ChooseSubPaymentEnum ¶
type ChooseSubPaymentEnum string
ChooseSubPaymentEnum **付款子項目** 若設定此參數,建立訂單將轉導至綠界訂單成立頁,依設定的付款方式及付款子項目帶入訂單,無法選擇其他付款子項目。 請參考付款方式一覽表
const ( CHOOSESUBPAYMENTENUM_TAISHIN ChooseSubPaymentEnum = "TAISHIN" CHOOSESUBPAYMENTENUM_ESUN ChooseSubPaymentEnum = "ESUN" CHOOSESUBPAYMENTENUM_BOT ChooseSubPaymentEnum = "BOT" CHOOSESUBPAYMENTENUM_FUBON ChooseSubPaymentEnum = "FUBON" CHOOSESUBPAYMENTENUM_CHINATRUST ChooseSubPaymentEnum = "CHINATRUST" CHOOSESUBPAYMENTENUM_FIRST ChooseSubPaymentEnum = "FIRST" CHOOSESUBPAYMENTENUM_CATHAY ChooseSubPaymentEnum = "CATHAY" CHOOSESUBPAYMENTENUM_MEGA ChooseSubPaymentEnum = "MEGA" CHOOSESUBPAYMENTENUM_LAND ChooseSubPaymentEnum = "LAND" CHOOSESUBPAYMENTENUM_TACHONG ChooseSubPaymentEnum = "TACHONG" CHOOSESUBPAYMENTENUM_SINOPAC ChooseSubPaymentEnum = "SINOPAC" CHOOSESUBPAYMENTENUM_CVS ChooseSubPaymentEnum = "CVS" CHOOSESUBPAYMENTENUM_OK ChooseSubPaymentEnum = "OK" CHOOSESUBPAYMENTENUM_FAMILY ChooseSubPaymentEnum = "FAMILY" CHOOSESUBPAYMENTENUM_HILIFE ChooseSubPaymentEnum = "HILIFE" CHOOSESUBPAYMENTENUM_IBON ChooseSubPaymentEnum = "IBON" CHOOSESUBPAYMENTENUM_BARCODE ChooseSubPaymentEnum = "BARCODE" CHOOSESUBPAYMENTENUM_EMPTY ChooseSubPaymentEnum = "" )
List of ChooseSubPaymentEnum
func (ChooseSubPaymentEnum) Ptr ¶
func (v ChooseSubPaymentEnum) Ptr() *ChooseSubPaymentEnum
Ptr returns reference to ChooseSubPaymentEnum value
type ClearanceMarkEnum ¶
type ClearanceMarkEnum string
ClearanceMarkEnum **通關方式** 當課稅類別`TaxType`為 `2`(零稅率)時,則該參數請帶 `1`(非經海關出口)或 `2`(經海關出口)。
const ( CLEARANCEMARKENUM_NOT_CUSTOMS ClearanceMarkEnum = "1" CLEARANCEMARKENUM_CUSTOMS ClearanceMarkEnum = "2" )
List of ClearanceMarkEnum
func (ClearanceMarkEnum) Ptr ¶
func (v ClearanceMarkEnum) Ptr() *ClearanceMarkEnum
Ptr returns reference to ClearanceMarkEnum value
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client Decoders map[string]Decoder }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreditCardPeriodInfo ¶
type CreditCardPeriodInfo struct { // **特店編號(由綠界提供)** MerchantID string `json:"MerchantID" form:"MerchantID"` // **特店交易編號(由特店提供)** 訂單產生時傳送給綠界的特店交易編號。 MerchantTradeNo string `json:"MerchantTradeNo" form:"MerchantTradeNo"` // **綠界的交易編號** 首次授權所產生的綠界交易編號 TradeNo string `json:"TradeNo" form:"TradeNo"` // **交易狀態** 回傳值為 1 時代表授權成功,其餘為失敗,失敗代碼請參考交易訊息代碼一覽表 RtnCode int `json:"RtnCode" form:"RtnCode"` PeriodType CreditPeriodTypeEnum `json:"PeriodType" form:"PeriodType"` // **執行頻率** 訂單建立時所設定的執行頻率 Frequency int `json:"Frequency" form:"Frequency"` // **執行次數** 訂單建立時所設定的執行頻率 ExecTimes int `json:"ExecTimes" form:"ExecTimes"` // **每次授權金額** 訂單建立時的每次要授權金額 PeriodAmount int `json:"PeriodAmount" form:"PeriodAmount"` // **授權金額** 所授權的金額 Amount int `json:"amount" form:"amount"` // **授權交易單號** 所授權的交易單號 Gwsr int `json:"gwsr" form:"gwsr"` // **授權成功處理時間** 格式為 yyyy/MM/dd HH:mm:ss ProcessDate ECPayDateTime `json:"process_date" form:"process_date"` // **授權碼** 授權碼 AuthCode string `json:"auth_code" form:"auth_code"` // **卡片的末 4 碼** 卡片的末四碼 Card4no string `json:"card4no" form:"card4no"` // **卡片的前 6 碼** 卡片的前六碼 Card6no string `json:"card6no" form:"card6no"` // **已成功授權次數合計** 目前已成功授權的次數 TotalSuccessTimes int `json:"TotalSuccessTimes" form:"TotalSuccessTimes"` // **已成功授權總金額** 目前已成功授權的金額合計 TotalSuccessAmount int `json:"TotalSuccessAmount" form:"TotalSuccessAmount"` ExecStatus ExecStatusEnum `json:"ExecStatus" form:"ExecStatus"` ExecLog []ExecLogRecord `json:"ExecLog" form:"ExecLog"` }
CreditCardPeriodInfo struct for CreditCardPeriodInfo
func NewCreditCardPeriodInfo ¶
func NewCreditCardPeriodInfo(merchantID string, merchantTradeNo string, tradeNo string, rtnCode int, periodType CreditPeriodTypeEnum, frequency int, execTimes int, periodAmount int, amount int, gwsr int, processDate ECPayDateTime, authCode string, card4no string, card6no string, totalSuccessTimes int, totalSuccessAmount int, execStatus ExecStatusEnum, execLog []ExecLogRecord) *CreditCardPeriodInfo
NewCreditCardPeriodInfo instantiates a new CreditCardPeriodInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreditCardPeriodInfoWithDefaults ¶
func NewCreditCardPeriodInfoWithDefaults() *CreditCardPeriodInfo
NewCreditCardPeriodInfoWithDefaults instantiates a new CreditCardPeriodInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreditCardPeriodInfo) GetAmount ¶
func (o *CreditCardPeriodInfo) GetAmount() int
GetAmount returns the Amount field value
func (*CreditCardPeriodInfo) GetAmountOk ¶
func (o *CreditCardPeriodInfo) GetAmountOk() (*int, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetAuthCode ¶
func (o *CreditCardPeriodInfo) GetAuthCode() string
GetAuthCode returns the AuthCode field value
func (*CreditCardPeriodInfo) GetAuthCodeOk ¶
func (o *CreditCardPeriodInfo) GetAuthCodeOk() (*string, bool)
GetAuthCodeOk returns a tuple with the AuthCode field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetCard4no ¶
func (o *CreditCardPeriodInfo) GetCard4no() string
GetCard4no returns the Card4no field value
func (*CreditCardPeriodInfo) GetCard4noOk ¶
func (o *CreditCardPeriodInfo) GetCard4noOk() (*string, bool)
GetCard4noOk returns a tuple with the Card4no field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetCard6no ¶
func (o *CreditCardPeriodInfo) GetCard6no() string
GetCard6no returns the Card6no field value
func (*CreditCardPeriodInfo) GetCard6noOk ¶
func (o *CreditCardPeriodInfo) GetCard6noOk() (*string, bool)
GetCard6noOk returns a tuple with the Card6no field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetExecLog ¶
func (o *CreditCardPeriodInfo) GetExecLog() []ExecLogRecord
GetExecLog returns the ExecLog field value
func (*CreditCardPeriodInfo) GetExecLogOk ¶
func (o *CreditCardPeriodInfo) GetExecLogOk() (*[]ExecLogRecord, bool)
GetExecLogOk returns a tuple with the ExecLog field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetExecStatus ¶
func (o *CreditCardPeriodInfo) GetExecStatus() ExecStatusEnum
GetExecStatus returns the ExecStatus field value
func (*CreditCardPeriodInfo) GetExecStatusOk ¶
func (o *CreditCardPeriodInfo) GetExecStatusOk() (*ExecStatusEnum, bool)
GetExecStatusOk returns a tuple with the ExecStatus field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetExecTimes ¶
func (o *CreditCardPeriodInfo) GetExecTimes() int
GetExecTimes returns the ExecTimes field value
func (*CreditCardPeriodInfo) GetExecTimesOk ¶
func (o *CreditCardPeriodInfo) GetExecTimesOk() (*int, bool)
GetExecTimesOk returns a tuple with the ExecTimes field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetFrequency ¶
func (o *CreditCardPeriodInfo) GetFrequency() int
GetFrequency returns the Frequency field value
func (*CreditCardPeriodInfo) GetFrequencyOk ¶
func (o *CreditCardPeriodInfo) GetFrequencyOk() (*int, bool)
GetFrequencyOk returns a tuple with the Frequency field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetGwsr ¶
func (o *CreditCardPeriodInfo) GetGwsr() int
GetGwsr returns the Gwsr field value
func (*CreditCardPeriodInfo) GetGwsrOk ¶
func (o *CreditCardPeriodInfo) GetGwsrOk() (*int, bool)
GetGwsrOk returns a tuple with the Gwsr field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetMerchantID ¶
func (o *CreditCardPeriodInfo) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*CreditCardPeriodInfo) GetMerchantIDOk ¶
func (o *CreditCardPeriodInfo) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetMerchantTradeNo ¶
func (o *CreditCardPeriodInfo) GetMerchantTradeNo() string
GetMerchantTradeNo returns the MerchantTradeNo field value
func (*CreditCardPeriodInfo) GetMerchantTradeNoOk ¶
func (o *CreditCardPeriodInfo) GetMerchantTradeNoOk() (*string, bool)
GetMerchantTradeNoOk returns a tuple with the MerchantTradeNo field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetPeriodAmount ¶
func (o *CreditCardPeriodInfo) GetPeriodAmount() int
GetPeriodAmount returns the PeriodAmount field value
func (*CreditCardPeriodInfo) GetPeriodAmountOk ¶
func (o *CreditCardPeriodInfo) GetPeriodAmountOk() (*int, bool)
GetPeriodAmountOk returns a tuple with the PeriodAmount field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetPeriodType ¶
func (o *CreditCardPeriodInfo) GetPeriodType() CreditPeriodTypeEnum
GetPeriodType returns the PeriodType field value
func (*CreditCardPeriodInfo) GetPeriodTypeOk ¶
func (o *CreditCardPeriodInfo) GetPeriodTypeOk() (*CreditPeriodTypeEnum, bool)
GetPeriodTypeOk returns a tuple with the PeriodType field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetProcessDate ¶
func (o *CreditCardPeriodInfo) GetProcessDate() ECPayDateTime
GetProcessDate returns the ProcessDate field value
func (*CreditCardPeriodInfo) GetProcessDateOk ¶
func (o *CreditCardPeriodInfo) GetProcessDateOk() (*ECPayDateTime, bool)
GetProcessDateOk returns a tuple with the ProcessDate field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetRtnCode ¶
func (o *CreditCardPeriodInfo) GetRtnCode() int
GetRtnCode returns the RtnCode field value
func (*CreditCardPeriodInfo) GetRtnCodeOk ¶
func (o *CreditCardPeriodInfo) GetRtnCodeOk() (*int, bool)
GetRtnCodeOk returns a tuple with the RtnCode field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetTotalSuccessAmount ¶
func (o *CreditCardPeriodInfo) GetTotalSuccessAmount() int
GetTotalSuccessAmount returns the TotalSuccessAmount field value
func (*CreditCardPeriodInfo) GetTotalSuccessAmountOk ¶
func (o *CreditCardPeriodInfo) GetTotalSuccessAmountOk() (*int, bool)
GetTotalSuccessAmountOk returns a tuple with the TotalSuccessAmount field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetTotalSuccessTimes ¶
func (o *CreditCardPeriodInfo) GetTotalSuccessTimes() int
GetTotalSuccessTimes returns the TotalSuccessTimes field value
func (*CreditCardPeriodInfo) GetTotalSuccessTimesOk ¶
func (o *CreditCardPeriodInfo) GetTotalSuccessTimesOk() (*int, bool)
GetTotalSuccessTimesOk returns a tuple with the TotalSuccessTimes field value and a boolean to check if the value has been set.
func (*CreditCardPeriodInfo) GetTradeNo ¶
func (o *CreditCardPeriodInfo) GetTradeNo() string
GetTradeNo returns the TradeNo field value
func (*CreditCardPeriodInfo) GetTradeNoOk ¶
func (o *CreditCardPeriodInfo) GetTradeNoOk() (*string, bool)
GetTradeNoOk returns a tuple with the TradeNo field value and a boolean to check if the value has been set.
func (CreditCardPeriodInfo) MarshalJSON ¶
func (o CreditCardPeriodInfo) MarshalJSON() ([]byte, error)
func (*CreditCardPeriodInfo) SetAmount ¶
func (o *CreditCardPeriodInfo) SetAmount(v int)
SetAmount sets field value
func (*CreditCardPeriodInfo) SetAuthCode ¶
func (o *CreditCardPeriodInfo) SetAuthCode(v string)
SetAuthCode sets field value
func (*CreditCardPeriodInfo) SetCard4no ¶
func (o *CreditCardPeriodInfo) SetCard4no(v string)
SetCard4no sets field value
func (*CreditCardPeriodInfo) SetCard6no ¶
func (o *CreditCardPeriodInfo) SetCard6no(v string)
SetCard6no sets field value
func (*CreditCardPeriodInfo) SetExecLog ¶
func (o *CreditCardPeriodInfo) SetExecLog(v []ExecLogRecord)
SetExecLog sets field value
func (*CreditCardPeriodInfo) SetExecStatus ¶
func (o *CreditCardPeriodInfo) SetExecStatus(v ExecStatusEnum)
SetExecStatus sets field value
func (*CreditCardPeriodInfo) SetExecTimes ¶
func (o *CreditCardPeriodInfo) SetExecTimes(v int)
SetExecTimes sets field value
func (*CreditCardPeriodInfo) SetFrequency ¶
func (o *CreditCardPeriodInfo) SetFrequency(v int)
SetFrequency sets field value
func (*CreditCardPeriodInfo) SetGwsr ¶
func (o *CreditCardPeriodInfo) SetGwsr(v int)
SetGwsr sets field value
func (*CreditCardPeriodInfo) SetMerchantID ¶
func (o *CreditCardPeriodInfo) SetMerchantID(v string)
SetMerchantID sets field value
func (*CreditCardPeriodInfo) SetMerchantTradeNo ¶
func (o *CreditCardPeriodInfo) SetMerchantTradeNo(v string)
SetMerchantTradeNo sets field value
func (*CreditCardPeriodInfo) SetPeriodAmount ¶
func (o *CreditCardPeriodInfo) SetPeriodAmount(v int)
SetPeriodAmount sets field value
func (*CreditCardPeriodInfo) SetPeriodType ¶
func (o *CreditCardPeriodInfo) SetPeriodType(v CreditPeriodTypeEnum)
SetPeriodType sets field value
func (*CreditCardPeriodInfo) SetProcessDate ¶
func (o *CreditCardPeriodInfo) SetProcessDate(v ECPayDateTime)
SetProcessDate sets field value
func (*CreditCardPeriodInfo) SetRtnCode ¶
func (o *CreditCardPeriodInfo) SetRtnCode(v int)
SetRtnCode sets field value
func (*CreditCardPeriodInfo) SetTotalSuccessAmount ¶
func (o *CreditCardPeriodInfo) SetTotalSuccessAmount(v int)
SetTotalSuccessAmount sets field value
func (*CreditCardPeriodInfo) SetTotalSuccessTimes ¶
func (o *CreditCardPeriodInfo) SetTotalSuccessTimes(v int)
SetTotalSuccessTimes sets field value
func (*CreditCardPeriodInfo) SetTradeNo ¶
func (o *CreditCardPeriodInfo) SetTradeNo(v string)
SetTradeNo sets field value
type CreditPeriodTypeEnum ¶
type CreditPeriodTypeEnum string
CreditPeriodTypeEnum **週期種類** 可設定以下參數: `D`:以天為週期 `M`:以月為週期 `Y`:以年為週期
const ( CREDITPERIODTYPEENUM_DAY CreditPeriodTypeEnum = "D" CREDITPERIODTYPEENUM_MONTH CreditPeriodTypeEnum = "M" CREDITPERIODTYPEENUM_YEAR CreditPeriodTypeEnum = "Y" )
List of CreditPeriodTypeEnum
func (CreditPeriodTypeEnum) Ptr ¶
func (v CreditPeriodTypeEnum) Ptr() *CreditPeriodTypeEnum
Ptr returns reference to CreditPeriodTypeEnum value
type ECPayApiService ¶
type ECPayApiService service
ECPayApiService ECPayApi service
func (*ECPayApiService) QueryCreditCardPeriodInfo ¶
func (a *ECPayApiService) QueryCreditCardPeriodInfo(ctx _context.Context) apiQueryCreditCardPeriodInfoRequest
QueryCreditCardPeriodInfo Method for QueryCreditCardPeriodInfo 13.信用卡定期定額訂單查詢
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiQueryCreditCardPeriodInfoRequest
func (*ECPayApiService) QueryTradeInfo ¶
func (a *ECPayApiService) QueryTradeInfo(ctx _context.Context) apiQueryTradeInfoRequest
QueryTradeInfo Method for QueryTradeInfo 8. 查詢訂單
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return apiQueryTradeInfoRequest
type ECPayDateTime ¶
func MustParseECPayDateTime ¶
func MustParseECPayDateTime(s string) ECPayDateTime
func ParseECPayDateTime ¶
func ParseECPayDateTime(s string) (ECPayDateTime, error)
func (ECPayDateTime) MarshalJSON ¶
func (t ECPayDateTime) MarshalJSON() ([]byte, error)
func (ECPayDateTime) String ¶
func (t ECPayDateTime) String() string
func (*ECPayDateTime) UnmarshalJSON ¶
func (t *ECPayDateTime) UnmarshalJSON(data []byte) error
func (*ECPayDateTime) UnmarshalParam ¶
func (t *ECPayDateTime) UnmarshalParam(param string) error
type EncryptTypeEnum ¶
type EncryptTypeEnum int
EncryptTypeEnum **CheckMacValue加密類型** 請固定填入 `1`,使用 SHA256 加密。
const (
ENCRYPTTYPEENUM_SHA256 EncryptTypeEnum = 1
)
List of EncryptTypeEnum
func (EncryptTypeEnum) Ptr ¶
func (v EncryptTypeEnum) Ptr() *EncryptTypeEnum
Ptr returns reference to EncryptTypeEnum value
type ExecLogRecord ¶
type ExecLogRecord struct { // **交易狀態** 回傳值為 1 時代表授權成功,其餘為失敗,失敗代碼請參考交易訊息代碼一覽 RtnCode int `json:"RtnCode" form:"RtnCode"` // **本次授權金額** 所授權的金額 Amount int `json:"amount" form:"amount"` // **授權交易單號** 所授權的交易單號 Gwsr int `json:"gwsr" form:"gwsr"` // **處理時間** 格式為 yyyy/MM/dd HH:mm:ss ProcessDate ECPayDateTime `json:"process_date" form:"process_date"` // **授權碼** 授權碼 AuthCode string `json:"auth_code" form:"auth_code"` // **綠界的交易編號** 請保存綠界的交易編號與特店交易編號 `MerchantTradeNo` 的關連。 TradeNo string `json:"TradeNo" form:"TradeNo"` }
ExecLogRecord **每次授權明細** 每一次的授權紀錄。 例如,若已成功授權 3 次(TotalSuccessTimes 為 3),則會顯示 3 筆授權紀錄。 欄位內容詳見下列定期定額授權明細之參數說明。
func NewExecLogRecord ¶
func NewExecLogRecord(rtnCode int, amount int, gwsr int, processDate ECPayDateTime, authCode string, tradeNo string) *ExecLogRecord
NewExecLogRecord instantiates a new ExecLogRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExecLogRecordWithDefaults ¶
func NewExecLogRecordWithDefaults() *ExecLogRecord
NewExecLogRecordWithDefaults instantiates a new ExecLogRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExecLogRecord) GetAmount ¶
func (o *ExecLogRecord) GetAmount() int
GetAmount returns the Amount field value
func (*ExecLogRecord) GetAmountOk ¶
func (o *ExecLogRecord) GetAmountOk() (*int, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*ExecLogRecord) GetAuthCode ¶
func (o *ExecLogRecord) GetAuthCode() string
GetAuthCode returns the AuthCode field value
func (*ExecLogRecord) GetAuthCodeOk ¶
func (o *ExecLogRecord) GetAuthCodeOk() (*string, bool)
GetAuthCodeOk returns a tuple with the AuthCode field value and a boolean to check if the value has been set.
func (*ExecLogRecord) GetGwsr ¶
func (o *ExecLogRecord) GetGwsr() int
GetGwsr returns the Gwsr field value
func (*ExecLogRecord) GetGwsrOk ¶
func (o *ExecLogRecord) GetGwsrOk() (*int, bool)
GetGwsrOk returns a tuple with the Gwsr field value and a boolean to check if the value has been set.
func (*ExecLogRecord) GetProcessDate ¶
func (o *ExecLogRecord) GetProcessDate() ECPayDateTime
GetProcessDate returns the ProcessDate field value
func (*ExecLogRecord) GetProcessDateOk ¶
func (o *ExecLogRecord) GetProcessDateOk() (*ECPayDateTime, bool)
GetProcessDateOk returns a tuple with the ProcessDate field value and a boolean to check if the value has been set.
func (*ExecLogRecord) GetRtnCode ¶
func (o *ExecLogRecord) GetRtnCode() int
GetRtnCode returns the RtnCode field value
func (*ExecLogRecord) GetRtnCodeOk ¶
func (o *ExecLogRecord) GetRtnCodeOk() (*int, bool)
GetRtnCodeOk returns a tuple with the RtnCode field value and a boolean to check if the value has been set.
func (*ExecLogRecord) GetTradeNo ¶
func (o *ExecLogRecord) GetTradeNo() string
GetTradeNo returns the TradeNo field value
func (*ExecLogRecord) GetTradeNoOk ¶
func (o *ExecLogRecord) GetTradeNoOk() (*string, bool)
GetTradeNoOk returns a tuple with the TradeNo field value and a boolean to check if the value has been set.
func (ExecLogRecord) MarshalJSON ¶
func (o ExecLogRecord) MarshalJSON() ([]byte, error)
func (*ExecLogRecord) SetAmount ¶
func (o *ExecLogRecord) SetAmount(v int)
SetAmount sets field value
func (*ExecLogRecord) SetAuthCode ¶
func (o *ExecLogRecord) SetAuthCode(v string)
SetAuthCode sets field value
func (*ExecLogRecord) SetProcessDate ¶
func (o *ExecLogRecord) SetProcessDate(v ECPayDateTime)
SetProcessDate sets field value
func (*ExecLogRecord) SetRtnCode ¶
func (o *ExecLogRecord) SetRtnCode(v int)
SetRtnCode sets field value
func (*ExecLogRecord) SetTradeNo ¶
func (o *ExecLogRecord) SetTradeNo(v string)
SetTradeNo sets field value
type ExecStatusEnum ¶
type ExecStatusEnum string
ExecStatusEnum **執行狀態** 回傳值如下: 1.若為 `0` 時代表已取消 2.若為 `1` 時代表執行中 3.若為 `2` 時代表執行完成
const ( EXECSTATUSENUM_CANCELED ExecStatusEnum = "0" EXECSTATUSENUM_INPROGRESS ExecStatusEnum = "1" EXECSTATUSENUM_COMPLETED ExecStatusEnum = "2" )
List of ExecStatusEnum
func (ExecStatusEnum) Ptr ¶
func (v ExecStatusEnum) Ptr() *ExecStatusEnum
Ptr returns reference to ExecStatusEnum value
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type InvoiceDonationEunm ¶
type InvoiceDonationEunm string
InvoiceDonationEunm **捐贈註記** 若為捐贈時,參數請帶:`1`。 若為不捐贈或統一編號 `CustomerIdentifier` 有值時,參數請帶:`0`。
const ( INVOICEDONATIONEUNM_DONATION InvoiceDonationEunm = "1" INVOICEDONATIONEUNM_NOT_DONATION InvoiceDonationEunm = "0" )
List of InvoiceDonationEunm
func (InvoiceDonationEunm) Ptr ¶
func (v InvoiceDonationEunm) Ptr() *InvoiceDonationEunm
Ptr returns reference to InvoiceDonationEunm value
type InvoiceMarkEnum ¶
type InvoiceMarkEnum string
InvoiceMarkEnum **電子發票開立註記** 此參數為付款完成後同時開立電子發票。 若要使用時,該參數須設定為「Y」,同時還要設定「電子發票介接相關參數」 注意事項: 正式環境欲使用電子發票功能,須與綠界申請開通,若未開通請致電客服中心 `(02) 2655-1775`。
const ( INVOICEMARKENUM_Y InvoiceMarkEnum = "Y" INVOICEMARKENUM_N InvoiceMarkEnum = "N" )
List of InvoiceMarkEnum
func (InvoiceMarkEnum) Ptr ¶
func (v InvoiceMarkEnum) Ptr() *InvoiceMarkEnum
Ptr returns reference to InvoiceMarkEnum value
type InvoicePrintEnum ¶
type InvoicePrintEnum string
InvoicePrintEnum **列印註記** 若為不列印或捐贈註記`Donation`為1(捐贈)時,請帶:`0`。 若為列印或統一編號`CustomerIdentifier`有值時,請帶:`1`
const ( INVOICEPRINTENUM_NOT_PRINT InvoicePrintEnum = "0" INVOICEPRINTENUM_PRINT InvoicePrintEnum = "1" )
List of InvoicePrintEnum
func (InvoicePrintEnum) Ptr ¶
func (v InvoicePrintEnum) Ptr() *InvoicePrintEnum
Ptr returns reference to InvoicePrintEnum value
type LanguageEnum ¶
type LanguageEnum string
LanguageEnum **語系設定** 預設語系為中文,若要變更語系參數值請帶: - 英語:`ENG` - 韓語:`KOR` - 日語:`JPN` - 簡體中文:`CHI`
const ( LANGUAGEENUM_ENG LanguageEnum = "ENG" LANGUAGEENUM_KOR LanguageEnum = "KOR" LANGUAGEENUM_JPN LanguageEnum = "JPN" LANGUAGEENUM_CHI LanguageEnum = "CHI" )
List of LanguageEnum
func (LanguageEnum) Ptr ¶
func (v LanguageEnum) Ptr() *LanguageEnum
Ptr returns reference to LanguageEnum value
type NeedExtraPaidInfoEnum ¶
type NeedExtraPaidInfoEnum string
NeedExtraPaidInfoEnum **是否需要額外的付款資訊** 額外的付款資訊: 若不回傳額外的付款資訊時,參數值請傳:`N`; 若要回傳額外的付款資訊時,參數值請傳:`Y`,付款完成後綠界會以 Server POST 方式回傳額外付款資訊。 注意事項: 回傳額外付款資訊參數請參考-額外回傳的參數
const ( NEEDEXTRAPAIDINFOENUM_Y NeedExtraPaidInfoEnum = "Y" NEEDEXTRAPAIDINFOENUM_N NeedExtraPaidInfoEnum = "N" )
List of NeedExtraPaidInfoEnum
func (NeedExtraPaidInfoEnum) Ptr ¶
func (v NeedExtraPaidInfoEnum) Ptr() *NeedExtraPaidInfoEnum
Ptr returns reference to NeedExtraPaidInfoEnum value
type NullableAioCheckOutAtmOption ¶
type NullableAioCheckOutAtmOption struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckOutAtmOption ¶
func NewNullableAioCheckOutAtmOption(val *AioCheckOutAtmOption) *NullableAioCheckOutAtmOption
func (NullableAioCheckOutAtmOption) Get ¶
func (v NullableAioCheckOutAtmOption) Get() *AioCheckOutAtmOption
func (NullableAioCheckOutAtmOption) IsSet ¶
func (v NullableAioCheckOutAtmOption) IsSet() bool
func (NullableAioCheckOutAtmOption) MarshalJSON ¶
func (v NullableAioCheckOutAtmOption) MarshalJSON() ([]byte, error)
func (*NullableAioCheckOutAtmOption) Set ¶
func (v *NullableAioCheckOutAtmOption) Set(val *AioCheckOutAtmOption)
func (*NullableAioCheckOutAtmOption) UnmarshalJSON ¶
func (v *NullableAioCheckOutAtmOption) UnmarshalJSON(src []byte) error
func (*NullableAioCheckOutAtmOption) Unset ¶
func (v *NullableAioCheckOutAtmOption) Unset()
type NullableAioCheckOutCreditInstallmentOption ¶
type NullableAioCheckOutCreditInstallmentOption struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckOutCreditInstallmentOption ¶
func NewNullableAioCheckOutCreditInstallmentOption(val *AioCheckOutCreditInstallmentOption) *NullableAioCheckOutCreditInstallmentOption
func (NullableAioCheckOutCreditInstallmentOption) IsSet ¶
func (v NullableAioCheckOutCreditInstallmentOption) IsSet() bool
func (NullableAioCheckOutCreditInstallmentOption) MarshalJSON ¶
func (v NullableAioCheckOutCreditInstallmentOption) MarshalJSON() ([]byte, error)
func (*NullableAioCheckOutCreditInstallmentOption) Set ¶
func (v *NullableAioCheckOutCreditInstallmentOption) Set(val *AioCheckOutCreditInstallmentOption)
func (*NullableAioCheckOutCreditInstallmentOption) UnmarshalJSON ¶
func (v *NullableAioCheckOutCreditInstallmentOption) UnmarshalJSON(src []byte) error
func (*NullableAioCheckOutCreditInstallmentOption) Unset ¶
func (v *NullableAioCheckOutCreditInstallmentOption) Unset()
type NullableAioCheckOutCreditOnetimeOption ¶
type NullableAioCheckOutCreditOnetimeOption struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckOutCreditOnetimeOption ¶
func NewNullableAioCheckOutCreditOnetimeOption(val *AioCheckOutCreditOnetimeOption) *NullableAioCheckOutCreditOnetimeOption
func (NullableAioCheckOutCreditOnetimeOption) Get ¶
func (v NullableAioCheckOutCreditOnetimeOption) Get() *AioCheckOutCreditOnetimeOption
func (NullableAioCheckOutCreditOnetimeOption) IsSet ¶
func (v NullableAioCheckOutCreditOnetimeOption) IsSet() bool
func (NullableAioCheckOutCreditOnetimeOption) MarshalJSON ¶
func (v NullableAioCheckOutCreditOnetimeOption) MarshalJSON() ([]byte, error)
func (*NullableAioCheckOutCreditOnetimeOption) Set ¶
func (v *NullableAioCheckOutCreditOnetimeOption) Set(val *AioCheckOutCreditOnetimeOption)
func (*NullableAioCheckOutCreditOnetimeOption) UnmarshalJSON ¶
func (v *NullableAioCheckOutCreditOnetimeOption) UnmarshalJSON(src []byte) error
func (*NullableAioCheckOutCreditOnetimeOption) Unset ¶
func (v *NullableAioCheckOutCreditOnetimeOption) Unset()
type NullableAioCheckOutCreditOption ¶
type NullableAioCheckOutCreditOption struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckOutCreditOption ¶
func NewNullableAioCheckOutCreditOption(val *AioCheckOutCreditOption) *NullableAioCheckOutCreditOption
func (NullableAioCheckOutCreditOption) Get ¶
func (v NullableAioCheckOutCreditOption) Get() *AioCheckOutCreditOption
func (NullableAioCheckOutCreditOption) IsSet ¶
func (v NullableAioCheckOutCreditOption) IsSet() bool
func (NullableAioCheckOutCreditOption) MarshalJSON ¶
func (v NullableAioCheckOutCreditOption) MarshalJSON() ([]byte, error)
func (*NullableAioCheckOutCreditOption) Set ¶
func (v *NullableAioCheckOutCreditOption) Set(val *AioCheckOutCreditOption)
func (*NullableAioCheckOutCreditOption) UnmarshalJSON ¶
func (v *NullableAioCheckOutCreditOption) UnmarshalJSON(src []byte) error
func (*NullableAioCheckOutCreditOption) Unset ¶
func (v *NullableAioCheckOutCreditOption) Unset()
type NullableAioCheckOutCreditPeriodOption ¶
type NullableAioCheckOutCreditPeriodOption struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckOutCreditPeriodOption ¶
func NewNullableAioCheckOutCreditPeriodOption(val *AioCheckOutCreditPeriodOption) *NullableAioCheckOutCreditPeriodOption
func (NullableAioCheckOutCreditPeriodOption) Get ¶
func (v NullableAioCheckOutCreditPeriodOption) Get() *AioCheckOutCreditPeriodOption
func (NullableAioCheckOutCreditPeriodOption) IsSet ¶
func (v NullableAioCheckOutCreditPeriodOption) IsSet() bool
func (NullableAioCheckOutCreditPeriodOption) MarshalJSON ¶
func (v NullableAioCheckOutCreditPeriodOption) MarshalJSON() ([]byte, error)
func (*NullableAioCheckOutCreditPeriodOption) Set ¶
func (v *NullableAioCheckOutCreditPeriodOption) Set(val *AioCheckOutCreditPeriodOption)
func (*NullableAioCheckOutCreditPeriodOption) UnmarshalJSON ¶
func (v *NullableAioCheckOutCreditPeriodOption) UnmarshalJSON(src []byte) error
func (*NullableAioCheckOutCreditPeriodOption) Unset ¶
func (v *NullableAioCheckOutCreditPeriodOption) Unset()
type NullableAioCheckOutCvsBarcodeOption ¶
type NullableAioCheckOutCvsBarcodeOption struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckOutCvsBarcodeOption ¶
func NewNullableAioCheckOutCvsBarcodeOption(val *AioCheckOutCvsBarcodeOption) *NullableAioCheckOutCvsBarcodeOption
func (NullableAioCheckOutCvsBarcodeOption) Get ¶
func (v NullableAioCheckOutCvsBarcodeOption) Get() *AioCheckOutCvsBarcodeOption
func (NullableAioCheckOutCvsBarcodeOption) IsSet ¶
func (v NullableAioCheckOutCvsBarcodeOption) IsSet() bool
func (NullableAioCheckOutCvsBarcodeOption) MarshalJSON ¶
func (v NullableAioCheckOutCvsBarcodeOption) MarshalJSON() ([]byte, error)
func (*NullableAioCheckOutCvsBarcodeOption) Set ¶
func (v *NullableAioCheckOutCvsBarcodeOption) Set(val *AioCheckOutCvsBarcodeOption)
func (*NullableAioCheckOutCvsBarcodeOption) UnmarshalJSON ¶
func (v *NullableAioCheckOutCvsBarcodeOption) UnmarshalJSON(src []byte) error
func (*NullableAioCheckOutCvsBarcodeOption) Unset ¶
func (v *NullableAioCheckOutCvsBarcodeOption) Unset()
type NullableAioCheckOutGeneralOption ¶
type NullableAioCheckOutGeneralOption struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckOutGeneralOption ¶
func NewNullableAioCheckOutGeneralOption(val *AioCheckOutGeneralOption) *NullableAioCheckOutGeneralOption
func (NullableAioCheckOutGeneralOption) Get ¶
func (v NullableAioCheckOutGeneralOption) Get() *AioCheckOutGeneralOption
func (NullableAioCheckOutGeneralOption) IsSet ¶
func (v NullableAioCheckOutGeneralOption) IsSet() bool
func (NullableAioCheckOutGeneralOption) MarshalJSON ¶
func (v NullableAioCheckOutGeneralOption) MarshalJSON() ([]byte, error)
func (*NullableAioCheckOutGeneralOption) Set ¶
func (v *NullableAioCheckOutGeneralOption) Set(val *AioCheckOutGeneralOption)
func (*NullableAioCheckOutGeneralOption) UnmarshalJSON ¶
func (v *NullableAioCheckOutGeneralOption) UnmarshalJSON(src []byte) error
func (*NullableAioCheckOutGeneralOption) Unset ¶
func (v *NullableAioCheckOutGeneralOption) Unset()
type NullableAioCheckOutInvoiceOption ¶
type NullableAioCheckOutInvoiceOption struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckOutInvoiceOption ¶
func NewNullableAioCheckOutInvoiceOption(val *AioCheckOutInvoiceOption) *NullableAioCheckOutInvoiceOption
func (NullableAioCheckOutInvoiceOption) Get ¶
func (v NullableAioCheckOutInvoiceOption) Get() *AioCheckOutInvoiceOption
func (NullableAioCheckOutInvoiceOption) IsSet ¶
func (v NullableAioCheckOutInvoiceOption) IsSet() bool
func (NullableAioCheckOutInvoiceOption) MarshalJSON ¶
func (v NullableAioCheckOutInvoiceOption) MarshalJSON() ([]byte, error)
func (*NullableAioCheckOutInvoiceOption) Set ¶
func (v *NullableAioCheckOutInvoiceOption) Set(val *AioCheckOutInvoiceOption)
func (*NullableAioCheckOutInvoiceOption) UnmarshalJSON ¶
func (v *NullableAioCheckOutInvoiceOption) UnmarshalJSON(src []byte) error
func (*NullableAioCheckOutInvoiceOption) Unset ¶
func (v *NullableAioCheckOutInvoiceOption) Unset()
type NullableAioCheckPaymentTypeEnum ¶
type NullableAioCheckPaymentTypeEnum struct {
// contains filtered or unexported fields
}
func NewNullableAioCheckPaymentTypeEnum ¶
func NewNullableAioCheckPaymentTypeEnum(val *AioCheckPaymentTypeEnum) *NullableAioCheckPaymentTypeEnum
func (NullableAioCheckPaymentTypeEnum) Get ¶
func (v NullableAioCheckPaymentTypeEnum) Get() *AioCheckPaymentTypeEnum
func (NullableAioCheckPaymentTypeEnum) IsSet ¶
func (v NullableAioCheckPaymentTypeEnum) IsSet() bool
func (NullableAioCheckPaymentTypeEnum) MarshalJSON ¶
func (v NullableAioCheckPaymentTypeEnum) MarshalJSON() ([]byte, error)
func (*NullableAioCheckPaymentTypeEnum) Set ¶
func (v *NullableAioCheckPaymentTypeEnum) Set(val *AioCheckPaymentTypeEnum)
func (*NullableAioCheckPaymentTypeEnum) UnmarshalJSON ¶
func (v *NullableAioCheckPaymentTypeEnum) UnmarshalJSON(src []byte) error
func (*NullableAioCheckPaymentTypeEnum) Unset ¶
func (v *NullableAioCheckPaymentTypeEnum) Unset()
type NullableBindingCardEnum ¶
type NullableBindingCardEnum struct {
// contains filtered or unexported fields
}
func NewNullableBindingCardEnum ¶
func NewNullableBindingCardEnum(val *BindingCardEnum) *NullableBindingCardEnum
func (NullableBindingCardEnum) Get ¶
func (v NullableBindingCardEnum) Get() *BindingCardEnum
func (NullableBindingCardEnum) IsSet ¶
func (v NullableBindingCardEnum) IsSet() bool
func (NullableBindingCardEnum) MarshalJSON ¶
func (v NullableBindingCardEnum) MarshalJSON() ([]byte, error)
func (*NullableBindingCardEnum) Set ¶
func (v *NullableBindingCardEnum) Set(val *BindingCardEnum)
func (*NullableBindingCardEnum) UnmarshalJSON ¶
func (v *NullableBindingCardEnum) UnmarshalJSON(src []byte) error
func (*NullableBindingCardEnum) Unset ¶
func (v *NullableBindingCardEnum) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCarruerTypeEnum ¶
type NullableCarruerTypeEnum struct {
// contains filtered or unexported fields
}
func NewNullableCarruerTypeEnum ¶
func NewNullableCarruerTypeEnum(val *CarruerTypeEnum) *NullableCarruerTypeEnum
func (NullableCarruerTypeEnum) Get ¶
func (v NullableCarruerTypeEnum) Get() *CarruerTypeEnum
func (NullableCarruerTypeEnum) IsSet ¶
func (v NullableCarruerTypeEnum) IsSet() bool
func (NullableCarruerTypeEnum) MarshalJSON ¶
func (v NullableCarruerTypeEnum) MarshalJSON() ([]byte, error)
func (*NullableCarruerTypeEnum) Set ¶
func (v *NullableCarruerTypeEnum) Set(val *CarruerTypeEnum)
func (*NullableCarruerTypeEnum) UnmarshalJSON ¶
func (v *NullableCarruerTypeEnum) UnmarshalJSON(src []byte) error
func (*NullableCarruerTypeEnum) Unset ¶
func (v *NullableCarruerTypeEnum) Unset()
type NullableChoosePaymentEnum ¶
type NullableChoosePaymentEnum struct {
// contains filtered or unexported fields
}
func NewNullableChoosePaymentEnum ¶
func NewNullableChoosePaymentEnum(val *ChoosePaymentEnum) *NullableChoosePaymentEnum
func (NullableChoosePaymentEnum) Get ¶
func (v NullableChoosePaymentEnum) Get() *ChoosePaymentEnum
func (NullableChoosePaymentEnum) IsSet ¶
func (v NullableChoosePaymentEnum) IsSet() bool
func (NullableChoosePaymentEnum) MarshalJSON ¶
func (v NullableChoosePaymentEnum) MarshalJSON() ([]byte, error)
func (*NullableChoosePaymentEnum) Set ¶
func (v *NullableChoosePaymentEnum) Set(val *ChoosePaymentEnum)
func (*NullableChoosePaymentEnum) UnmarshalJSON ¶
func (v *NullableChoosePaymentEnum) UnmarshalJSON(src []byte) error
func (*NullableChoosePaymentEnum) Unset ¶
func (v *NullableChoosePaymentEnum) Unset()
type NullableChooseSubPaymentEnum ¶
type NullableChooseSubPaymentEnum struct {
// contains filtered or unexported fields
}
func NewNullableChooseSubPaymentEnum ¶
func NewNullableChooseSubPaymentEnum(val *ChooseSubPaymentEnum) *NullableChooseSubPaymentEnum
func (NullableChooseSubPaymentEnum) Get ¶
func (v NullableChooseSubPaymentEnum) Get() *ChooseSubPaymentEnum
func (NullableChooseSubPaymentEnum) IsSet ¶
func (v NullableChooseSubPaymentEnum) IsSet() bool
func (NullableChooseSubPaymentEnum) MarshalJSON ¶
func (v NullableChooseSubPaymentEnum) MarshalJSON() ([]byte, error)
func (*NullableChooseSubPaymentEnum) Set ¶
func (v *NullableChooseSubPaymentEnum) Set(val *ChooseSubPaymentEnum)
func (*NullableChooseSubPaymentEnum) UnmarshalJSON ¶
func (v *NullableChooseSubPaymentEnum) UnmarshalJSON(src []byte) error
func (*NullableChooseSubPaymentEnum) Unset ¶
func (v *NullableChooseSubPaymentEnum) Unset()
type NullableClearanceMarkEnum ¶
type NullableClearanceMarkEnum struct {
// contains filtered or unexported fields
}
func NewNullableClearanceMarkEnum ¶
func NewNullableClearanceMarkEnum(val *ClearanceMarkEnum) *NullableClearanceMarkEnum
func (NullableClearanceMarkEnum) Get ¶
func (v NullableClearanceMarkEnum) Get() *ClearanceMarkEnum
func (NullableClearanceMarkEnum) IsSet ¶
func (v NullableClearanceMarkEnum) IsSet() bool
func (NullableClearanceMarkEnum) MarshalJSON ¶
func (v NullableClearanceMarkEnum) MarshalJSON() ([]byte, error)
func (*NullableClearanceMarkEnum) Set ¶
func (v *NullableClearanceMarkEnum) Set(val *ClearanceMarkEnum)
func (*NullableClearanceMarkEnum) UnmarshalJSON ¶
func (v *NullableClearanceMarkEnum) UnmarshalJSON(src []byte) error
func (*NullableClearanceMarkEnum) Unset ¶
func (v *NullableClearanceMarkEnum) Unset()
type NullableCreditCardPeriodInfo ¶
type NullableCreditCardPeriodInfo struct {
// contains filtered or unexported fields
}
func NewNullableCreditCardPeriodInfo ¶
func NewNullableCreditCardPeriodInfo(val *CreditCardPeriodInfo) *NullableCreditCardPeriodInfo
func (NullableCreditCardPeriodInfo) Get ¶
func (v NullableCreditCardPeriodInfo) Get() *CreditCardPeriodInfo
func (NullableCreditCardPeriodInfo) IsSet ¶
func (v NullableCreditCardPeriodInfo) IsSet() bool
func (NullableCreditCardPeriodInfo) MarshalJSON ¶
func (v NullableCreditCardPeriodInfo) MarshalJSON() ([]byte, error)
func (*NullableCreditCardPeriodInfo) Set ¶
func (v *NullableCreditCardPeriodInfo) Set(val *CreditCardPeriodInfo)
func (*NullableCreditCardPeriodInfo) UnmarshalJSON ¶
func (v *NullableCreditCardPeriodInfo) UnmarshalJSON(src []byte) error
func (*NullableCreditCardPeriodInfo) Unset ¶
func (v *NullableCreditCardPeriodInfo) Unset()
type NullableCreditPeriodTypeEnum ¶
type NullableCreditPeriodTypeEnum struct {
// contains filtered or unexported fields
}
func NewNullableCreditPeriodTypeEnum ¶
func NewNullableCreditPeriodTypeEnum(val *CreditPeriodTypeEnum) *NullableCreditPeriodTypeEnum
func (NullableCreditPeriodTypeEnum) Get ¶
func (v NullableCreditPeriodTypeEnum) Get() *CreditPeriodTypeEnum
func (NullableCreditPeriodTypeEnum) IsSet ¶
func (v NullableCreditPeriodTypeEnum) IsSet() bool
func (NullableCreditPeriodTypeEnum) MarshalJSON ¶
func (v NullableCreditPeriodTypeEnum) MarshalJSON() ([]byte, error)
func (*NullableCreditPeriodTypeEnum) Set ¶
func (v *NullableCreditPeriodTypeEnum) Set(val *CreditPeriodTypeEnum)
func (*NullableCreditPeriodTypeEnum) UnmarshalJSON ¶
func (v *NullableCreditPeriodTypeEnum) UnmarshalJSON(src []byte) error
func (*NullableCreditPeriodTypeEnum) Unset ¶
func (v *NullableCreditPeriodTypeEnum) Unset()
type NullableEncryptTypeEnum ¶
type NullableEncryptTypeEnum struct {
// contains filtered or unexported fields
}
func NewNullableEncryptTypeEnum ¶
func NewNullableEncryptTypeEnum(val *EncryptTypeEnum) *NullableEncryptTypeEnum
func (NullableEncryptTypeEnum) Get ¶
func (v NullableEncryptTypeEnum) Get() *EncryptTypeEnum
func (NullableEncryptTypeEnum) IsSet ¶
func (v NullableEncryptTypeEnum) IsSet() bool
func (NullableEncryptTypeEnum) MarshalJSON ¶
func (v NullableEncryptTypeEnum) MarshalJSON() ([]byte, error)
func (*NullableEncryptTypeEnum) Set ¶
func (v *NullableEncryptTypeEnum) Set(val *EncryptTypeEnum)
func (*NullableEncryptTypeEnum) UnmarshalJSON ¶
func (v *NullableEncryptTypeEnum) UnmarshalJSON(src []byte) error
func (*NullableEncryptTypeEnum) Unset ¶
func (v *NullableEncryptTypeEnum) Unset()
type NullableExecLogRecord ¶
type NullableExecLogRecord struct {
// contains filtered or unexported fields
}
func NewNullableExecLogRecord ¶
func NewNullableExecLogRecord(val *ExecLogRecord) *NullableExecLogRecord
func (NullableExecLogRecord) Get ¶
func (v NullableExecLogRecord) Get() *ExecLogRecord
func (NullableExecLogRecord) IsSet ¶
func (v NullableExecLogRecord) IsSet() bool
func (NullableExecLogRecord) MarshalJSON ¶
func (v NullableExecLogRecord) MarshalJSON() ([]byte, error)
func (*NullableExecLogRecord) Set ¶
func (v *NullableExecLogRecord) Set(val *ExecLogRecord)
func (*NullableExecLogRecord) UnmarshalJSON ¶
func (v *NullableExecLogRecord) UnmarshalJSON(src []byte) error
func (*NullableExecLogRecord) Unset ¶
func (v *NullableExecLogRecord) Unset()
type NullableExecStatusEnum ¶
type NullableExecStatusEnum struct {
// contains filtered or unexported fields
}
func NewNullableExecStatusEnum ¶
func NewNullableExecStatusEnum(val *ExecStatusEnum) *NullableExecStatusEnum
func (NullableExecStatusEnum) Get ¶
func (v NullableExecStatusEnum) Get() *ExecStatusEnum
func (NullableExecStatusEnum) IsSet ¶
func (v NullableExecStatusEnum) IsSet() bool
func (NullableExecStatusEnum) MarshalJSON ¶
func (v NullableExecStatusEnum) MarshalJSON() ([]byte, error)
func (*NullableExecStatusEnum) Set ¶
func (v *NullableExecStatusEnum) Set(val *ExecStatusEnum)
func (*NullableExecStatusEnum) UnmarshalJSON ¶
func (v *NullableExecStatusEnum) UnmarshalJSON(src []byte) error
func (*NullableExecStatusEnum) Unset ¶
func (v *NullableExecStatusEnum) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableInvoiceDonationEunm ¶
type NullableInvoiceDonationEunm struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceDonationEunm ¶
func NewNullableInvoiceDonationEunm(val *InvoiceDonationEunm) *NullableInvoiceDonationEunm
func (NullableInvoiceDonationEunm) Get ¶
func (v NullableInvoiceDonationEunm) Get() *InvoiceDonationEunm
func (NullableInvoiceDonationEunm) IsSet ¶
func (v NullableInvoiceDonationEunm) IsSet() bool
func (NullableInvoiceDonationEunm) MarshalJSON ¶
func (v NullableInvoiceDonationEunm) MarshalJSON() ([]byte, error)
func (*NullableInvoiceDonationEunm) Set ¶
func (v *NullableInvoiceDonationEunm) Set(val *InvoiceDonationEunm)
func (*NullableInvoiceDonationEunm) UnmarshalJSON ¶
func (v *NullableInvoiceDonationEunm) UnmarshalJSON(src []byte) error
func (*NullableInvoiceDonationEunm) Unset ¶
func (v *NullableInvoiceDonationEunm) Unset()
type NullableInvoiceMarkEnum ¶
type NullableInvoiceMarkEnum struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceMarkEnum ¶
func NewNullableInvoiceMarkEnum(val *InvoiceMarkEnum) *NullableInvoiceMarkEnum
func (NullableInvoiceMarkEnum) Get ¶
func (v NullableInvoiceMarkEnum) Get() *InvoiceMarkEnum
func (NullableInvoiceMarkEnum) IsSet ¶
func (v NullableInvoiceMarkEnum) IsSet() bool
func (NullableInvoiceMarkEnum) MarshalJSON ¶
func (v NullableInvoiceMarkEnum) MarshalJSON() ([]byte, error)
func (*NullableInvoiceMarkEnum) Set ¶
func (v *NullableInvoiceMarkEnum) Set(val *InvoiceMarkEnum)
func (*NullableInvoiceMarkEnum) UnmarshalJSON ¶
func (v *NullableInvoiceMarkEnum) UnmarshalJSON(src []byte) error
func (*NullableInvoiceMarkEnum) Unset ¶
func (v *NullableInvoiceMarkEnum) Unset()
type NullableInvoicePrintEnum ¶
type NullableInvoicePrintEnum struct {
// contains filtered or unexported fields
}
func NewNullableInvoicePrintEnum ¶
func NewNullableInvoicePrintEnum(val *InvoicePrintEnum) *NullableInvoicePrintEnum
func (NullableInvoicePrintEnum) Get ¶
func (v NullableInvoicePrintEnum) Get() *InvoicePrintEnum
func (NullableInvoicePrintEnum) IsSet ¶
func (v NullableInvoicePrintEnum) IsSet() bool
func (NullableInvoicePrintEnum) MarshalJSON ¶
func (v NullableInvoicePrintEnum) MarshalJSON() ([]byte, error)
func (*NullableInvoicePrintEnum) Set ¶
func (v *NullableInvoicePrintEnum) Set(val *InvoicePrintEnum)
func (*NullableInvoicePrintEnum) UnmarshalJSON ¶
func (v *NullableInvoicePrintEnum) UnmarshalJSON(src []byte) error
func (*NullableInvoicePrintEnum) Unset ¶
func (v *NullableInvoicePrintEnum) Unset()
type NullableLanguageEnum ¶
type NullableLanguageEnum struct {
// contains filtered or unexported fields
}
func NewNullableLanguageEnum ¶
func NewNullableLanguageEnum(val *LanguageEnum) *NullableLanguageEnum
func (NullableLanguageEnum) Get ¶
func (v NullableLanguageEnum) Get() *LanguageEnum
func (NullableLanguageEnum) IsSet ¶
func (v NullableLanguageEnum) IsSet() bool
func (NullableLanguageEnum) MarshalJSON ¶
func (v NullableLanguageEnum) MarshalJSON() ([]byte, error)
func (*NullableLanguageEnum) Set ¶
func (v *NullableLanguageEnum) Set(val *LanguageEnum)
func (*NullableLanguageEnum) UnmarshalJSON ¶
func (v *NullableLanguageEnum) UnmarshalJSON(src []byte) error
func (*NullableLanguageEnum) Unset ¶
func (v *NullableLanguageEnum) Unset()
type NullableNeedExtraPaidInfoEnum ¶
type NullableNeedExtraPaidInfoEnum struct {
// contains filtered or unexported fields
}
func NewNullableNeedExtraPaidInfoEnum ¶
func NewNullableNeedExtraPaidInfoEnum(val *NeedExtraPaidInfoEnum) *NullableNeedExtraPaidInfoEnum
func (NullableNeedExtraPaidInfoEnum) Get ¶
func (v NullableNeedExtraPaidInfoEnum) Get() *NeedExtraPaidInfoEnum
func (NullableNeedExtraPaidInfoEnum) IsSet ¶
func (v NullableNeedExtraPaidInfoEnum) IsSet() bool
func (NullableNeedExtraPaidInfoEnum) MarshalJSON ¶
func (v NullableNeedExtraPaidInfoEnum) MarshalJSON() ([]byte, error)
func (*NullableNeedExtraPaidInfoEnum) Set ¶
func (v *NullableNeedExtraPaidInfoEnum) Set(val *NeedExtraPaidInfoEnum)
func (*NullableNeedExtraPaidInfoEnum) UnmarshalJSON ¶
func (v *NullableNeedExtraPaidInfoEnum) UnmarshalJSON(src []byte) error
func (*NullableNeedExtraPaidInfoEnum) Unset ¶
func (v *NullableNeedExtraPaidInfoEnum) Unset()
type NullableOrderResult ¶
type NullableOrderResult struct {
// contains filtered or unexported fields
}
func NewNullableOrderResult ¶
func NewNullableOrderResult(val *OrderResult) *NullableOrderResult
func (NullableOrderResult) Get ¶
func (v NullableOrderResult) Get() *OrderResult
func (NullableOrderResult) IsSet ¶
func (v NullableOrderResult) IsSet() bool
func (NullableOrderResult) MarshalJSON ¶
func (v NullableOrderResult) MarshalJSON() ([]byte, error)
func (*NullableOrderResult) Set ¶
func (v *NullableOrderResult) Set(val *OrderResult)
func (*NullableOrderResult) UnmarshalJSON ¶
func (v *NullableOrderResult) UnmarshalJSON(src []byte) error
func (*NullableOrderResult) Unset ¶
func (v *NullableOrderResult) Unset()
type NullablePeriodOrderResult ¶
type NullablePeriodOrderResult struct {
// contains filtered or unexported fields
}
func NewNullablePeriodOrderResult ¶
func NewNullablePeriodOrderResult(val *PeriodOrderResult) *NullablePeriodOrderResult
func (NullablePeriodOrderResult) Get ¶
func (v NullablePeriodOrderResult) Get() *PeriodOrderResult
func (NullablePeriodOrderResult) IsSet ¶
func (v NullablePeriodOrderResult) IsSet() bool
func (NullablePeriodOrderResult) MarshalJSON ¶
func (v NullablePeriodOrderResult) MarshalJSON() ([]byte, error)
func (*NullablePeriodOrderResult) Set ¶
func (v *NullablePeriodOrderResult) Set(val *PeriodOrderResult)
func (*NullablePeriodOrderResult) UnmarshalJSON ¶
func (v *NullablePeriodOrderResult) UnmarshalJSON(src []byte) error
func (*NullablePeriodOrderResult) Unset ¶
func (v *NullablePeriodOrderResult) Unset()
type NullableQueryCreditCardPeriodInfoRequest ¶
type NullableQueryCreditCardPeriodInfoRequest struct {
// contains filtered or unexported fields
}
func NewNullableQueryCreditCardPeriodInfoRequest ¶
func NewNullableQueryCreditCardPeriodInfoRequest(val *QueryCreditCardPeriodInfoRequest) *NullableQueryCreditCardPeriodInfoRequest
func (NullableQueryCreditCardPeriodInfoRequest) IsSet ¶
func (v NullableQueryCreditCardPeriodInfoRequest) IsSet() bool
func (NullableQueryCreditCardPeriodInfoRequest) MarshalJSON ¶
func (v NullableQueryCreditCardPeriodInfoRequest) MarshalJSON() ([]byte, error)
func (*NullableQueryCreditCardPeriodInfoRequest) Set ¶
func (v *NullableQueryCreditCardPeriodInfoRequest) Set(val *QueryCreditCardPeriodInfoRequest)
func (*NullableQueryCreditCardPeriodInfoRequest) UnmarshalJSON ¶
func (v *NullableQueryCreditCardPeriodInfoRequest) UnmarshalJSON(src []byte) error
func (*NullableQueryCreditCardPeriodInfoRequest) Unset ¶
func (v *NullableQueryCreditCardPeriodInfoRequest) Unset()
type NullableQueryTradeInfoRequest ¶
type NullableQueryTradeInfoRequest struct {
// contains filtered or unexported fields
}
func NewNullableQueryTradeInfoRequest ¶
func NewNullableQueryTradeInfoRequest(val *QueryTradeInfoRequest) *NullableQueryTradeInfoRequest
func (NullableQueryTradeInfoRequest) Get ¶
func (v NullableQueryTradeInfoRequest) Get() *QueryTradeInfoRequest
func (NullableQueryTradeInfoRequest) IsSet ¶
func (v NullableQueryTradeInfoRequest) IsSet() bool
func (NullableQueryTradeInfoRequest) MarshalJSON ¶
func (v NullableQueryTradeInfoRequest) MarshalJSON() ([]byte, error)
func (*NullableQueryTradeInfoRequest) Set ¶
func (v *NullableQueryTradeInfoRequest) Set(val *QueryTradeInfoRequest)
func (*NullableQueryTradeInfoRequest) UnmarshalJSON ¶
func (v *NullableQueryTradeInfoRequest) UnmarshalJSON(src []byte) error
func (*NullableQueryTradeInfoRequest) Unset ¶
func (v *NullableQueryTradeInfoRequest) Unset()
type NullableRedeemEnum ¶
type NullableRedeemEnum struct {
// contains filtered or unexported fields
}
func NewNullableRedeemEnum ¶
func NewNullableRedeemEnum(val *RedeemEnum) *NullableRedeemEnum
func (NullableRedeemEnum) Get ¶
func (v NullableRedeemEnum) Get() *RedeemEnum
func (NullableRedeemEnum) IsSet ¶
func (v NullableRedeemEnum) IsSet() bool
func (NullableRedeemEnum) MarshalJSON ¶
func (v NullableRedeemEnum) MarshalJSON() ([]byte, error)
func (*NullableRedeemEnum) Set ¶
func (v *NullableRedeemEnum) Set(val *RedeemEnum)
func (*NullableRedeemEnum) UnmarshalJSON ¶
func (v *NullableRedeemEnum) UnmarshalJSON(src []byte) error
func (*NullableRedeemEnum) Unset ¶
func (v *NullableRedeemEnum) Unset()
type NullableReturnPaymentTypeEnum ¶
type NullableReturnPaymentTypeEnum struct {
// contains filtered or unexported fields
}
func NewNullableReturnPaymentTypeEnum ¶
func NewNullableReturnPaymentTypeEnum(val *ReturnPaymentTypeEnum) *NullableReturnPaymentTypeEnum
func (NullableReturnPaymentTypeEnum) Get ¶
func (v NullableReturnPaymentTypeEnum) Get() *ReturnPaymentTypeEnum
func (NullableReturnPaymentTypeEnum) IsSet ¶
func (v NullableReturnPaymentTypeEnum) IsSet() bool
func (NullableReturnPaymentTypeEnum) MarshalJSON ¶
func (v NullableReturnPaymentTypeEnum) MarshalJSON() ([]byte, error)
func (*NullableReturnPaymentTypeEnum) Set ¶
func (v *NullableReturnPaymentTypeEnum) Set(val *ReturnPaymentTypeEnum)
func (*NullableReturnPaymentTypeEnum) UnmarshalJSON ¶
func (v *NullableReturnPaymentTypeEnum) UnmarshalJSON(src []byte) error
func (*NullableReturnPaymentTypeEnum) Unset ¶
func (v *NullableReturnPaymentTypeEnum) Unset()
type NullableSimulatePaidEnum ¶
type NullableSimulatePaidEnum struct {
// contains filtered or unexported fields
}
func NewNullableSimulatePaidEnum ¶
func NewNullableSimulatePaidEnum(val *SimulatePaidEnum) *NullableSimulatePaidEnum
func (NullableSimulatePaidEnum) Get ¶
func (v NullableSimulatePaidEnum) Get() *SimulatePaidEnum
func (NullableSimulatePaidEnum) IsSet ¶
func (v NullableSimulatePaidEnum) IsSet() bool
func (NullableSimulatePaidEnum) MarshalJSON ¶
func (v NullableSimulatePaidEnum) MarshalJSON() ([]byte, error)
func (*NullableSimulatePaidEnum) Set ¶
func (v *NullableSimulatePaidEnum) Set(val *SimulatePaidEnum)
func (*NullableSimulatePaidEnum) UnmarshalJSON ¶
func (v *NullableSimulatePaidEnum) UnmarshalJSON(src []byte) error
func (*NullableSimulatePaidEnum) Unset ¶
func (v *NullableSimulatePaidEnum) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTaxTypeEnum ¶
type NullableTaxTypeEnum struct {
// contains filtered or unexported fields
}
func NewNullableTaxTypeEnum ¶
func NewNullableTaxTypeEnum(val *TaxTypeEnum) *NullableTaxTypeEnum
func (NullableTaxTypeEnum) Get ¶
func (v NullableTaxTypeEnum) Get() *TaxTypeEnum
func (NullableTaxTypeEnum) IsSet ¶
func (v NullableTaxTypeEnum) IsSet() bool
func (NullableTaxTypeEnum) MarshalJSON ¶
func (v NullableTaxTypeEnum) MarshalJSON() ([]byte, error)
func (*NullableTaxTypeEnum) Set ¶
func (v *NullableTaxTypeEnum) Set(val *TaxTypeEnum)
func (*NullableTaxTypeEnum) UnmarshalJSON ¶
func (v *NullableTaxTypeEnum) UnmarshalJSON(src []byte) error
func (*NullableTaxTypeEnum) Unset ¶
func (v *NullableTaxTypeEnum) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTradeInfo ¶
type NullableTradeInfo struct {
// contains filtered or unexported fields
}
func NewNullableTradeInfo ¶
func NewNullableTradeInfo(val *TradeInfo) *NullableTradeInfo
func (NullableTradeInfo) Get ¶
func (v NullableTradeInfo) Get() *TradeInfo
func (NullableTradeInfo) IsSet ¶
func (v NullableTradeInfo) IsSet() bool
func (NullableTradeInfo) MarshalJSON ¶
func (v NullableTradeInfo) MarshalJSON() ([]byte, error)
func (*NullableTradeInfo) Set ¶
func (v *NullableTradeInfo) Set(val *TradeInfo)
func (*NullableTradeInfo) UnmarshalJSON ¶
func (v *NullableTradeInfo) UnmarshalJSON(src []byte) error
func (*NullableTradeInfo) Unset ¶
func (v *NullableTradeInfo) Unset()
type NullableUnionPayEnum ¶
type NullableUnionPayEnum struct {
// contains filtered or unexported fields
}
func NewNullableUnionPayEnum ¶
func NewNullableUnionPayEnum(val *UnionPayEnum) *NullableUnionPayEnum
func (NullableUnionPayEnum) Get ¶
func (v NullableUnionPayEnum) Get() *UnionPayEnum
func (NullableUnionPayEnum) IsSet ¶
func (v NullableUnionPayEnum) IsSet() bool
func (NullableUnionPayEnum) MarshalJSON ¶
func (v NullableUnionPayEnum) MarshalJSON() ([]byte, error)
func (*NullableUnionPayEnum) Set ¶
func (v *NullableUnionPayEnum) Set(val *UnionPayEnum)
func (*NullableUnionPayEnum) UnmarshalJSON ¶
func (v *NullableUnionPayEnum) UnmarshalJSON(src []byte) error
func (*NullableUnionPayEnum) Unset ¶
func (v *NullableUnionPayEnum) Unset()
type OrderResult ¶
type OrderResult struct { // **特店編號** MerchantID string `json:"MerchantID" form:"MerchantID"` // **特店交易編號** 訂單產生時傳送給綠界的特店交易編號。英數字大小寫混合 MerchantTradeNo string `json:"MerchantTradeNo" form:"MerchantTradeNo"` // **特店旗下店舖代號** 提供特店填入分店代號使用,僅可用英數字大小寫混合。 StoreID string `json:"StoreID" form:"StoreID"` // **交易狀態** 若回傳值為 1 時,為付款成功 其餘代碼皆為交易異常,請至廠商管理後台確認後再出貨。 RtnCode int `json:"RtnCode" form:"RtnCode"` // **交易訊息** Server POST 成功回傳:交易成功 Server POST 補送通知回傳:paid Client POST 成功回傳:Succeeded RtnMsg string `json:"RtnMsg" form:"RtnMsg"` // **綠界的交易編號** 請保存綠界的交易編號與特店交易編號[MerchantTradeNo]的關連。 TradeNo string `json:"TradeNo" form:"TradeNo"` // **交易金額** TradeAmt int `json:"TradeAmt" form:"TradeAmt"` // **付款時間** 格式為 yyyy/MM/dd HH:mm:ss PaymentDate ECPayDateTime `json:"PaymentDate" form:"PaymentDate"` PaymentType ReturnPaymentTypeEnum `json:"PaymentType" form:"PaymentType"` // **通路費** PaymentTypeChargeFee int `json:"PaymentTypeChargeFee" form:"PaymentTypeChargeFee"` // **訂單成立時間** 格式為 yyyy/MM/dd HH:mm:ss TradeDate ECPayDateTime `json:"TradeDate" form:"TradeDate"` // **檢查碼** 特店必須檢查檢查碼`CheckMacValue`來驗證,請參考附錄檢查碼機制。 CheckMacValue string `json:"CheckMacValue" form:"CheckMacValue"` SimulatePaid SimulatePaidEnum `json:"SimulatePaid" form:"SimulatePaid"` // **自訂名稱欄位1** 提供合作廠商使用記錄用客製化使用欄位 CustomField1 string `json:"CustomField1" form:"CustomField1"` // **自訂名稱欄位2** 提供合作廠商使用記錄用客製化使用欄位 CustomField2 string `json:"CustomField2" form:"CustomField2"` // **自訂名稱欄位3** 提供合作廠商使用記錄用客製化使用欄位 CustomField3 string `json:"CustomField3" form:"CustomField3"` // **自訂名稱欄位4** 提供合作廠商使用記錄用客製化使用欄位 CustomField4 string `json:"CustomField4" form:"CustomField4"` }
OrderResult struct for OrderResult
func NewOrderResult ¶
func NewOrderResult(merchantID string, merchantTradeNo string, storeID string, rtnCode int, rtnMsg string, tradeNo string, tradeAmt int, paymentDate ECPayDateTime, paymentType ReturnPaymentTypeEnum, paymentTypeChargeFee int, tradeDate ECPayDateTime, checkMacValue string, simulatePaid SimulatePaidEnum, customField1 string, customField2 string, customField3 string, customField4 string) *OrderResult
NewOrderResult instantiates a new OrderResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOrderResultWithDefaults ¶
func NewOrderResultWithDefaults() *OrderResult
NewOrderResultWithDefaults instantiates a new OrderResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OrderResult) GetCheckMacValue ¶
func (o *OrderResult) GetCheckMacValue() string
GetCheckMacValue returns the CheckMacValue field value
func (*OrderResult) GetCheckMacValueOk ¶
func (o *OrderResult) GetCheckMacValueOk() (*string, bool)
GetCheckMacValueOk returns a tuple with the CheckMacValue field value and a boolean to check if the value has been set.
func (*OrderResult) GetCustomField1 ¶
func (o *OrderResult) GetCustomField1() string
GetCustomField1 returns the CustomField1 field value
func (*OrderResult) GetCustomField1Ok ¶
func (o *OrderResult) GetCustomField1Ok() (*string, bool)
GetCustomField1Ok returns a tuple with the CustomField1 field value and a boolean to check if the value has been set.
func (*OrderResult) GetCustomField2 ¶
func (o *OrderResult) GetCustomField2() string
GetCustomField2 returns the CustomField2 field value
func (*OrderResult) GetCustomField2Ok ¶
func (o *OrderResult) GetCustomField2Ok() (*string, bool)
GetCustomField2Ok returns a tuple with the CustomField2 field value and a boolean to check if the value has been set.
func (*OrderResult) GetCustomField3 ¶
func (o *OrderResult) GetCustomField3() string
GetCustomField3 returns the CustomField3 field value
func (*OrderResult) GetCustomField3Ok ¶
func (o *OrderResult) GetCustomField3Ok() (*string, bool)
GetCustomField3Ok returns a tuple with the CustomField3 field value and a boolean to check if the value has been set.
func (*OrderResult) GetCustomField4 ¶
func (o *OrderResult) GetCustomField4() string
GetCustomField4 returns the CustomField4 field value
func (*OrderResult) GetCustomField4Ok ¶
func (o *OrderResult) GetCustomField4Ok() (*string, bool)
GetCustomField4Ok returns a tuple with the CustomField4 field value and a boolean to check if the value has been set.
func (*OrderResult) GetMerchantID ¶
func (o *OrderResult) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*OrderResult) GetMerchantIDOk ¶
func (o *OrderResult) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*OrderResult) GetMerchantTradeNo ¶
func (o *OrderResult) GetMerchantTradeNo() string
GetMerchantTradeNo returns the MerchantTradeNo field value
func (*OrderResult) GetMerchantTradeNoOk ¶
func (o *OrderResult) GetMerchantTradeNoOk() (*string, bool)
GetMerchantTradeNoOk returns a tuple with the MerchantTradeNo field value and a boolean to check if the value has been set.
func (*OrderResult) GetPaymentDate ¶
func (o *OrderResult) GetPaymentDate() ECPayDateTime
GetPaymentDate returns the PaymentDate field value
func (*OrderResult) GetPaymentDateOk ¶
func (o *OrderResult) GetPaymentDateOk() (*ECPayDateTime, bool)
GetPaymentDateOk returns a tuple with the PaymentDate field value and a boolean to check if the value has been set.
func (*OrderResult) GetPaymentType ¶
func (o *OrderResult) GetPaymentType() ReturnPaymentTypeEnum
GetPaymentType returns the PaymentType field value
func (*OrderResult) GetPaymentTypeChargeFee ¶
func (o *OrderResult) GetPaymentTypeChargeFee() int
GetPaymentTypeChargeFee returns the PaymentTypeChargeFee field value
func (*OrderResult) GetPaymentTypeChargeFeeOk ¶
func (o *OrderResult) GetPaymentTypeChargeFeeOk() (*int, bool)
GetPaymentTypeChargeFeeOk returns a tuple with the PaymentTypeChargeFee field value and a boolean to check if the value has been set.
func (*OrderResult) GetPaymentTypeOk ¶
func (o *OrderResult) GetPaymentTypeOk() (*ReturnPaymentTypeEnum, bool)
GetPaymentTypeOk returns a tuple with the PaymentType field value and a boolean to check if the value has been set.
func (*OrderResult) GetRtnCode ¶
func (o *OrderResult) GetRtnCode() int
GetRtnCode returns the RtnCode field value
func (*OrderResult) GetRtnCodeOk ¶
func (o *OrderResult) GetRtnCodeOk() (*int, bool)
GetRtnCodeOk returns a tuple with the RtnCode field value and a boolean to check if the value has been set.
func (*OrderResult) GetRtnMsg ¶
func (o *OrderResult) GetRtnMsg() string
GetRtnMsg returns the RtnMsg field value
func (*OrderResult) GetRtnMsgOk ¶
func (o *OrderResult) GetRtnMsgOk() (*string, bool)
GetRtnMsgOk returns a tuple with the RtnMsg field value and a boolean to check if the value has been set.
func (*OrderResult) GetSimulatePaid ¶
func (o *OrderResult) GetSimulatePaid() SimulatePaidEnum
GetSimulatePaid returns the SimulatePaid field value
func (*OrderResult) GetSimulatePaidOk ¶
func (o *OrderResult) GetSimulatePaidOk() (*SimulatePaidEnum, bool)
GetSimulatePaidOk returns a tuple with the SimulatePaid field value and a boolean to check if the value has been set.
func (*OrderResult) GetStoreID ¶
func (o *OrderResult) GetStoreID() string
GetStoreID returns the StoreID field value
func (*OrderResult) GetStoreIDOk ¶
func (o *OrderResult) GetStoreIDOk() (*string, bool)
GetStoreIDOk returns a tuple with the StoreID field value and a boolean to check if the value has been set.
func (*OrderResult) GetTradeAmt ¶
func (o *OrderResult) GetTradeAmt() int
GetTradeAmt returns the TradeAmt field value
func (*OrderResult) GetTradeAmtOk ¶
func (o *OrderResult) GetTradeAmtOk() (*int, bool)
GetTradeAmtOk returns a tuple with the TradeAmt field value and a boolean to check if the value has been set.
func (*OrderResult) GetTradeDate ¶
func (o *OrderResult) GetTradeDate() ECPayDateTime
GetTradeDate returns the TradeDate field value
func (*OrderResult) GetTradeDateOk ¶
func (o *OrderResult) GetTradeDateOk() (*ECPayDateTime, bool)
GetTradeDateOk returns a tuple with the TradeDate field value and a boolean to check if the value has been set.
func (*OrderResult) GetTradeNo ¶
func (o *OrderResult) GetTradeNo() string
GetTradeNo returns the TradeNo field value
func (*OrderResult) GetTradeNoOk ¶
func (o *OrderResult) GetTradeNoOk() (*string, bool)
GetTradeNoOk returns a tuple with the TradeNo field value and a boolean to check if the value has been set.
func (OrderResult) MarshalJSON ¶
func (o OrderResult) MarshalJSON() ([]byte, error)
func (*OrderResult) SetCheckMacValue ¶
func (o *OrderResult) SetCheckMacValue(v string)
SetCheckMacValue sets field value
func (*OrderResult) SetCustomField1 ¶
func (o *OrderResult) SetCustomField1(v string)
SetCustomField1 sets field value
func (*OrderResult) SetCustomField2 ¶
func (o *OrderResult) SetCustomField2(v string)
SetCustomField2 sets field value
func (*OrderResult) SetCustomField3 ¶
func (o *OrderResult) SetCustomField3(v string)
SetCustomField3 sets field value
func (*OrderResult) SetCustomField4 ¶
func (o *OrderResult) SetCustomField4(v string)
SetCustomField4 sets field value
func (*OrderResult) SetMerchantID ¶
func (o *OrderResult) SetMerchantID(v string)
SetMerchantID sets field value
func (*OrderResult) SetMerchantTradeNo ¶
func (o *OrderResult) SetMerchantTradeNo(v string)
SetMerchantTradeNo sets field value
func (*OrderResult) SetPaymentDate ¶
func (o *OrderResult) SetPaymentDate(v ECPayDateTime)
SetPaymentDate sets field value
func (*OrderResult) SetPaymentType ¶
func (o *OrderResult) SetPaymentType(v ReturnPaymentTypeEnum)
SetPaymentType sets field value
func (*OrderResult) SetPaymentTypeChargeFee ¶
func (o *OrderResult) SetPaymentTypeChargeFee(v int)
SetPaymentTypeChargeFee sets field value
func (*OrderResult) SetRtnCode ¶
func (o *OrderResult) SetRtnCode(v int)
SetRtnCode sets field value
func (*OrderResult) SetRtnMsg ¶
func (o *OrderResult) SetRtnMsg(v string)
SetRtnMsg sets field value
func (*OrderResult) SetSimulatePaid ¶
func (o *OrderResult) SetSimulatePaid(v SimulatePaidEnum)
SetSimulatePaid sets field value
func (*OrderResult) SetStoreID ¶
func (o *OrderResult) SetStoreID(v string)
SetStoreID sets field value
func (*OrderResult) SetTradeAmt ¶
func (o *OrderResult) SetTradeAmt(v int)
SetTradeAmt sets field value
func (*OrderResult) SetTradeDate ¶
func (o *OrderResult) SetTradeDate(v ECPayDateTime)
SetTradeDate sets field value
func (*OrderResult) SetTradeNo ¶
func (o *OrderResult) SetTradeNo(v string)
SetTradeNo sets field value
type PeriodOrderResult ¶
type PeriodOrderResult struct { // **特店編號** MerchantID string `json:"MerchantID" form:"MerchantID"` // **特店交易編號** 訂單產生時傳送給綠界的特店交易編號。英數字大小寫混合 MerchantTradeNo string `json:"MerchantTradeNo" form:"MerchantTradeNo"` // **特店旗下店舖代號** 提供特店填入分店代號使用,僅可用英數字大小寫混合。 StoreID string `json:"StoreID" form:"StoreID"` // **交易狀態** 若回傳值為 1 時,為付款成功 其餘代碼皆為交易異常,請至廠商管理後台確認後再出貨。 RtnCode int `json:"RtnCode" form:"RtnCode"` // **交易訊息** Server POST 成功回傳:交易成功 Server POST 補送通知回傳:paid Client POST 成功回傳:Succeeded RtnMsg string `json:"RtnMsg" form:"RtnMsg"` PeriodType CreditPeriodTypeEnum `json:"PeriodType" form:"PeriodType"` // **執行頻率** 訂單建立時所設定的執行頻率 Frequency int `json:"Frequency" form:"Frequency"` // **執行次數** 訂單建立時所設定的執行頻率 ExecTimes int `json:"ExecTimes" form:"ExecTimes"` // **本次授權金額** 此次所授權的金額 Amount int `json:"Amount" form:"Amount"` // **授權交易單號** 此次所授權的交易單號 Gwsr int `json:"Gwsr" form:"Gwsr"` // **處理時間** 處理時間 ( yyyy/MM/dd HH:mm:ss ) ProcessDate ECPayDateTime `json:"ProcessDate" form:"ProcessDate"` // **授權碼** 授權碼 AuthCode string `json:"AuthCode" form:"AuthCode"` // **初次授權金額** 定期定額交易的第一筆授權金額。 FirstAuthAmount int `json:"FirstAuthAmount" form:"FirstAuthAmount"` // **已執行成功次數** 目前已成功授權的次數。 TotalSuccessTimes int `json:"TotalSuccessTimes" form:"TotalSuccessTimes"` // **檢查碼** 特店必須檢查檢查碼`CheckMacValue`來驗證,請參考附錄檢查碼機制。 CheckMacValue string `json:"CheckMacValue" form:"CheckMacValue"` SimulatePaid SimulatePaidEnum `json:"SimulatePaid" form:"SimulatePaid"` // **自訂名稱欄位1** 提供合作廠商使用記錄用客製化使用欄位 CustomField1 string `json:"CustomField1" form:"CustomField1"` // **自訂名稱欄位2** 提供合作廠商使用記錄用客製化使用欄位 CustomField2 string `json:"CustomField2" form:"CustomField2"` // **自訂名稱欄位3** 提供合作廠商使用記錄用客製化使用欄位 CustomField3 string `json:"CustomField3" form:"CustomField3"` // **自訂名稱欄位4** 提供合作廠商使用記錄用客製化使用欄位 CustomField4 string `json:"CustomField4" form:"CustomField4"` }
PeriodOrderResult struct for PeriodOrderResult
func NewPeriodOrderResult ¶
func NewPeriodOrderResult(merchantID string, merchantTradeNo string, storeID string, rtnCode int, rtnMsg string, periodType CreditPeriodTypeEnum, frequency int, execTimes int, amount int, gwsr int, processDate ECPayDateTime, authCode string, firstAuthAmount int, totalSuccessTimes int, checkMacValue string, simulatePaid SimulatePaidEnum, customField1 string, customField2 string, customField3 string, customField4 string) *PeriodOrderResult
NewPeriodOrderResult instantiates a new PeriodOrderResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPeriodOrderResultWithDefaults ¶
func NewPeriodOrderResultWithDefaults() *PeriodOrderResult
NewPeriodOrderResultWithDefaults instantiates a new PeriodOrderResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PeriodOrderResult) GetAmount ¶
func (o *PeriodOrderResult) GetAmount() int
GetAmount returns the Amount field value
func (*PeriodOrderResult) GetAmountOk ¶
func (o *PeriodOrderResult) GetAmountOk() (*int, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetAuthCode ¶
func (o *PeriodOrderResult) GetAuthCode() string
GetAuthCode returns the AuthCode field value
func (*PeriodOrderResult) GetAuthCodeOk ¶
func (o *PeriodOrderResult) GetAuthCodeOk() (*string, bool)
GetAuthCodeOk returns a tuple with the AuthCode field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetCheckMacValue ¶
func (o *PeriodOrderResult) GetCheckMacValue() string
GetCheckMacValue returns the CheckMacValue field value
func (*PeriodOrderResult) GetCheckMacValueOk ¶
func (o *PeriodOrderResult) GetCheckMacValueOk() (*string, bool)
GetCheckMacValueOk returns a tuple with the CheckMacValue field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetCustomField1 ¶
func (o *PeriodOrderResult) GetCustomField1() string
GetCustomField1 returns the CustomField1 field value
func (*PeriodOrderResult) GetCustomField1Ok ¶
func (o *PeriodOrderResult) GetCustomField1Ok() (*string, bool)
GetCustomField1Ok returns a tuple with the CustomField1 field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetCustomField2 ¶
func (o *PeriodOrderResult) GetCustomField2() string
GetCustomField2 returns the CustomField2 field value
func (*PeriodOrderResult) GetCustomField2Ok ¶
func (o *PeriodOrderResult) GetCustomField2Ok() (*string, bool)
GetCustomField2Ok returns a tuple with the CustomField2 field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetCustomField3 ¶
func (o *PeriodOrderResult) GetCustomField3() string
GetCustomField3 returns the CustomField3 field value
func (*PeriodOrderResult) GetCustomField3Ok ¶
func (o *PeriodOrderResult) GetCustomField3Ok() (*string, bool)
GetCustomField3Ok returns a tuple with the CustomField3 field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetCustomField4 ¶
func (o *PeriodOrderResult) GetCustomField4() string
GetCustomField4 returns the CustomField4 field value
func (*PeriodOrderResult) GetCustomField4Ok ¶
func (o *PeriodOrderResult) GetCustomField4Ok() (*string, bool)
GetCustomField4Ok returns a tuple with the CustomField4 field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetExecTimes ¶
func (o *PeriodOrderResult) GetExecTimes() int
GetExecTimes returns the ExecTimes field value
func (*PeriodOrderResult) GetExecTimesOk ¶
func (o *PeriodOrderResult) GetExecTimesOk() (*int, bool)
GetExecTimesOk returns a tuple with the ExecTimes field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetFirstAuthAmount ¶
func (o *PeriodOrderResult) GetFirstAuthAmount() int
GetFirstAuthAmount returns the FirstAuthAmount field value
func (*PeriodOrderResult) GetFirstAuthAmountOk ¶
func (o *PeriodOrderResult) GetFirstAuthAmountOk() (*int, bool)
GetFirstAuthAmountOk returns a tuple with the FirstAuthAmount field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetFrequency ¶
func (o *PeriodOrderResult) GetFrequency() int
GetFrequency returns the Frequency field value
func (*PeriodOrderResult) GetFrequencyOk ¶
func (o *PeriodOrderResult) GetFrequencyOk() (*int, bool)
GetFrequencyOk returns a tuple with the Frequency field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetGwsr ¶
func (o *PeriodOrderResult) GetGwsr() int
GetGwsr returns the Gwsr field value
func (*PeriodOrderResult) GetGwsrOk ¶
func (o *PeriodOrderResult) GetGwsrOk() (*int, bool)
GetGwsrOk returns a tuple with the Gwsr field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetMerchantID ¶
func (o *PeriodOrderResult) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*PeriodOrderResult) GetMerchantIDOk ¶
func (o *PeriodOrderResult) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetMerchantTradeNo ¶
func (o *PeriodOrderResult) GetMerchantTradeNo() string
GetMerchantTradeNo returns the MerchantTradeNo field value
func (*PeriodOrderResult) GetMerchantTradeNoOk ¶
func (o *PeriodOrderResult) GetMerchantTradeNoOk() (*string, bool)
GetMerchantTradeNoOk returns a tuple with the MerchantTradeNo field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetPeriodType ¶
func (o *PeriodOrderResult) GetPeriodType() CreditPeriodTypeEnum
GetPeriodType returns the PeriodType field value
func (*PeriodOrderResult) GetPeriodTypeOk ¶
func (o *PeriodOrderResult) GetPeriodTypeOk() (*CreditPeriodTypeEnum, bool)
GetPeriodTypeOk returns a tuple with the PeriodType field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetProcessDate ¶
func (o *PeriodOrderResult) GetProcessDate() ECPayDateTime
GetProcessDate returns the ProcessDate field value
func (*PeriodOrderResult) GetProcessDateOk ¶
func (o *PeriodOrderResult) GetProcessDateOk() (*ECPayDateTime, bool)
GetProcessDateOk returns a tuple with the ProcessDate field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetRtnCode ¶
func (o *PeriodOrderResult) GetRtnCode() int
GetRtnCode returns the RtnCode field value
func (*PeriodOrderResult) GetRtnCodeOk ¶
func (o *PeriodOrderResult) GetRtnCodeOk() (*int, bool)
GetRtnCodeOk returns a tuple with the RtnCode field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetRtnMsg ¶
func (o *PeriodOrderResult) GetRtnMsg() string
GetRtnMsg returns the RtnMsg field value
func (*PeriodOrderResult) GetRtnMsgOk ¶
func (o *PeriodOrderResult) GetRtnMsgOk() (*string, bool)
GetRtnMsgOk returns a tuple with the RtnMsg field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetSimulatePaid ¶
func (o *PeriodOrderResult) GetSimulatePaid() SimulatePaidEnum
GetSimulatePaid returns the SimulatePaid field value
func (*PeriodOrderResult) GetSimulatePaidOk ¶
func (o *PeriodOrderResult) GetSimulatePaidOk() (*SimulatePaidEnum, bool)
GetSimulatePaidOk returns a tuple with the SimulatePaid field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetStoreID ¶
func (o *PeriodOrderResult) GetStoreID() string
GetStoreID returns the StoreID field value
func (*PeriodOrderResult) GetStoreIDOk ¶
func (o *PeriodOrderResult) GetStoreIDOk() (*string, bool)
GetStoreIDOk returns a tuple with the StoreID field value and a boolean to check if the value has been set.
func (*PeriodOrderResult) GetTotalSuccessTimes ¶
func (o *PeriodOrderResult) GetTotalSuccessTimes() int
GetTotalSuccessTimes returns the TotalSuccessTimes field value
func (*PeriodOrderResult) GetTotalSuccessTimesOk ¶
func (o *PeriodOrderResult) GetTotalSuccessTimesOk() (*int, bool)
GetTotalSuccessTimesOk returns a tuple with the TotalSuccessTimes field value and a boolean to check if the value has been set.
func (PeriodOrderResult) MarshalJSON ¶
func (o PeriodOrderResult) MarshalJSON() ([]byte, error)
func (*PeriodOrderResult) SetAmount ¶
func (o *PeriodOrderResult) SetAmount(v int)
SetAmount sets field value
func (*PeriodOrderResult) SetAuthCode ¶
func (o *PeriodOrderResult) SetAuthCode(v string)
SetAuthCode sets field value
func (*PeriodOrderResult) SetCheckMacValue ¶
func (o *PeriodOrderResult) SetCheckMacValue(v string)
SetCheckMacValue sets field value
func (*PeriodOrderResult) SetCustomField1 ¶
func (o *PeriodOrderResult) SetCustomField1(v string)
SetCustomField1 sets field value
func (*PeriodOrderResult) SetCustomField2 ¶
func (o *PeriodOrderResult) SetCustomField2(v string)
SetCustomField2 sets field value
func (*PeriodOrderResult) SetCustomField3 ¶
func (o *PeriodOrderResult) SetCustomField3(v string)
SetCustomField3 sets field value
func (*PeriodOrderResult) SetCustomField4 ¶
func (o *PeriodOrderResult) SetCustomField4(v string)
SetCustomField4 sets field value
func (*PeriodOrderResult) SetExecTimes ¶
func (o *PeriodOrderResult) SetExecTimes(v int)
SetExecTimes sets field value
func (*PeriodOrderResult) SetFirstAuthAmount ¶
func (o *PeriodOrderResult) SetFirstAuthAmount(v int)
SetFirstAuthAmount sets field value
func (*PeriodOrderResult) SetFrequency ¶
func (o *PeriodOrderResult) SetFrequency(v int)
SetFrequency sets field value
func (*PeriodOrderResult) SetGwsr ¶
func (o *PeriodOrderResult) SetGwsr(v int)
SetGwsr sets field value
func (*PeriodOrderResult) SetMerchantID ¶
func (o *PeriodOrderResult) SetMerchantID(v string)
SetMerchantID sets field value
func (*PeriodOrderResult) SetMerchantTradeNo ¶
func (o *PeriodOrderResult) SetMerchantTradeNo(v string)
SetMerchantTradeNo sets field value
func (*PeriodOrderResult) SetPeriodType ¶
func (o *PeriodOrderResult) SetPeriodType(v CreditPeriodTypeEnum)
SetPeriodType sets field value
func (*PeriodOrderResult) SetProcessDate ¶
func (o *PeriodOrderResult) SetProcessDate(v ECPayDateTime)
SetProcessDate sets field value
func (*PeriodOrderResult) SetRtnCode ¶
func (o *PeriodOrderResult) SetRtnCode(v int)
SetRtnCode sets field value
func (*PeriodOrderResult) SetRtnMsg ¶
func (o *PeriodOrderResult) SetRtnMsg(v string)
SetRtnMsg sets field value
func (*PeriodOrderResult) SetSimulatePaid ¶
func (o *PeriodOrderResult) SetSimulatePaid(v SimulatePaidEnum)
SetSimulatePaid sets field value
func (*PeriodOrderResult) SetStoreID ¶
func (o *PeriodOrderResult) SetStoreID(v string)
SetStoreID sets field value
func (*PeriodOrderResult) SetTotalSuccessTimes ¶
func (o *PeriodOrderResult) SetTotalSuccessTimes(v int)
SetTotalSuccessTimes sets field value
type QueryCreditCardPeriodInfoRequest ¶
type QueryCreditCardPeriodInfoRequest struct { // **特店編號(由綠界提供)** MerchantID string `json:"MerchantID" form:"MerchantID"` // **特店交易編號(由特店提供)** 訂單產生時傳送給綠界的特店交易編號。 MerchantTradeNo string `json:"MerchantTradeNo" form:"MerchantTradeNo"` // **驗證時間** 將當下的時間轉為UnixTimeStamp(見範例)用於驗證此次介接的時間區間。 綠界驗證時間區間暫訂為 3 分鐘內有效,超過則此次介接無效。 TimeStamp int `json:"TimeStamp" form:"TimeStamp"` // **檢查碼** 請參考附錄檢查碼機制與產生檢查碼範例程式 CheckMacValue string `json:"CheckMacValue" form:"CheckMacValue"` }
QueryCreditCardPeriodInfoRequest struct for QueryCreditCardPeriodInfoRequest
func NewQueryCreditCardPeriodInfoRequest ¶
func NewQueryCreditCardPeriodInfoRequest(merchantID string, merchantTradeNo string, timeStamp int, checkMacValue string) *QueryCreditCardPeriodInfoRequest
NewQueryCreditCardPeriodInfoRequest instantiates a new QueryCreditCardPeriodInfoRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueryCreditCardPeriodInfoRequestWithDefaults ¶
func NewQueryCreditCardPeriodInfoRequestWithDefaults() *QueryCreditCardPeriodInfoRequest
NewQueryCreditCardPeriodInfoRequestWithDefaults instantiates a new QueryCreditCardPeriodInfoRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QueryCreditCardPeriodInfoRequest) GetCheckMacValue ¶
func (o *QueryCreditCardPeriodInfoRequest) GetCheckMacValue() string
GetCheckMacValue returns the CheckMacValue field value
func (*QueryCreditCardPeriodInfoRequest) GetCheckMacValueOk ¶
func (o *QueryCreditCardPeriodInfoRequest) GetCheckMacValueOk() (*string, bool)
GetCheckMacValueOk returns a tuple with the CheckMacValue field value and a boolean to check if the value has been set.
func (*QueryCreditCardPeriodInfoRequest) GetMerchantID ¶
func (o *QueryCreditCardPeriodInfoRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*QueryCreditCardPeriodInfoRequest) GetMerchantIDOk ¶
func (o *QueryCreditCardPeriodInfoRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*QueryCreditCardPeriodInfoRequest) GetMerchantTradeNo ¶
func (o *QueryCreditCardPeriodInfoRequest) GetMerchantTradeNo() string
GetMerchantTradeNo returns the MerchantTradeNo field value
func (*QueryCreditCardPeriodInfoRequest) GetMerchantTradeNoOk ¶
func (o *QueryCreditCardPeriodInfoRequest) GetMerchantTradeNoOk() (*string, bool)
GetMerchantTradeNoOk returns a tuple with the MerchantTradeNo field value and a boolean to check if the value has been set.
func (*QueryCreditCardPeriodInfoRequest) GetTimeStamp ¶
func (o *QueryCreditCardPeriodInfoRequest) GetTimeStamp() int
GetTimeStamp returns the TimeStamp field value
func (*QueryCreditCardPeriodInfoRequest) GetTimeStampOk ¶
func (o *QueryCreditCardPeriodInfoRequest) GetTimeStampOk() (*int, bool)
GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.
func (QueryCreditCardPeriodInfoRequest) MarshalJSON ¶
func (o QueryCreditCardPeriodInfoRequest) MarshalJSON() ([]byte, error)
func (*QueryCreditCardPeriodInfoRequest) SetCheckMacValue ¶
func (o *QueryCreditCardPeriodInfoRequest) SetCheckMacValue(v string)
SetCheckMacValue sets field value
func (*QueryCreditCardPeriodInfoRequest) SetMerchantID ¶
func (o *QueryCreditCardPeriodInfoRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (*QueryCreditCardPeriodInfoRequest) SetMerchantTradeNo ¶
func (o *QueryCreditCardPeriodInfoRequest) SetMerchantTradeNo(v string)
SetMerchantTradeNo sets field value
func (*QueryCreditCardPeriodInfoRequest) SetTimeStamp ¶
func (o *QueryCreditCardPeriodInfoRequest) SetTimeStamp(v int)
SetTimeStamp sets field value
type QueryTradeInfoRequest ¶
type QueryTradeInfoRequest struct { // **特店編號(由綠界提供)** MerchantID string `json:"MerchantID" form:"MerchantID"` // **特店交易編號(由特店提供)** 訂單產生時傳送給綠界的特店交易編號。 MerchantTradeNo string `json:"MerchantTradeNo" form:"MerchantTradeNo"` // **驗證時間** 將當下的時間轉為UnixTimeStamp(見範例)用於驗證此次介接的時間區間。 綠界驗證時間區間暫訂為 3 分鐘內有效,超過則此次介接無效。 TimeStamp int `json:"TimeStamp" form:"TimeStamp"` // **特約合作平台商代號(由綠界提供)** 為專案合作的平台商使用。 一般特店或平台商本身介接,則參數請帶放空值。 若為專案合作平台商的特店使用時,則參數請帶平台商所綁的特店編號 `MerchantID`。 PlatformID *string `json:"PlatformID,omitempty" form:"PlatformID"` // **檢查碼** 特店必須檢查檢查碼`CheckMacValue`來驗證,請參考附錄檢查碼機制。 CheckMacValue string `json:"CheckMacValue" form:"CheckMacValue"` }
QueryTradeInfoRequest struct for QueryTradeInfoRequest
func NewQueryTradeInfoRequest ¶
func NewQueryTradeInfoRequest(merchantID string, merchantTradeNo string, timeStamp int, checkMacValue string) *QueryTradeInfoRequest
NewQueryTradeInfoRequest instantiates a new QueryTradeInfoRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueryTradeInfoRequestWithDefaults ¶
func NewQueryTradeInfoRequestWithDefaults() *QueryTradeInfoRequest
NewQueryTradeInfoRequestWithDefaults instantiates a new QueryTradeInfoRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QueryTradeInfoRequest) GetCheckMacValue ¶
func (o *QueryTradeInfoRequest) GetCheckMacValue() string
GetCheckMacValue returns the CheckMacValue field value
func (*QueryTradeInfoRequest) GetCheckMacValueOk ¶
func (o *QueryTradeInfoRequest) GetCheckMacValueOk() (*string, bool)
GetCheckMacValueOk returns a tuple with the CheckMacValue field value and a boolean to check if the value has been set.
func (*QueryTradeInfoRequest) GetMerchantID ¶
func (o *QueryTradeInfoRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*QueryTradeInfoRequest) GetMerchantIDOk ¶
func (o *QueryTradeInfoRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*QueryTradeInfoRequest) GetMerchantTradeNo ¶
func (o *QueryTradeInfoRequest) GetMerchantTradeNo() string
GetMerchantTradeNo returns the MerchantTradeNo field value
func (*QueryTradeInfoRequest) GetMerchantTradeNoOk ¶
func (o *QueryTradeInfoRequest) GetMerchantTradeNoOk() (*string, bool)
GetMerchantTradeNoOk returns a tuple with the MerchantTradeNo field value and a boolean to check if the value has been set.
func (*QueryTradeInfoRequest) GetPlatformID ¶
func (o *QueryTradeInfoRequest) GetPlatformID() string
GetPlatformID returns the PlatformID field value if set, zero value otherwise.
func (*QueryTradeInfoRequest) GetPlatformIDOk ¶
func (o *QueryTradeInfoRequest) GetPlatformIDOk() (*string, bool)
GetPlatformIDOk returns a tuple with the PlatformID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryTradeInfoRequest) GetTimeStamp ¶
func (o *QueryTradeInfoRequest) GetTimeStamp() int
GetTimeStamp returns the TimeStamp field value
func (*QueryTradeInfoRequest) GetTimeStampOk ¶
func (o *QueryTradeInfoRequest) GetTimeStampOk() (*int, bool)
GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.
func (*QueryTradeInfoRequest) HasPlatformID ¶
func (o *QueryTradeInfoRequest) HasPlatformID() bool
HasPlatformID returns a boolean if a field has been set.
func (QueryTradeInfoRequest) MarshalJSON ¶
func (o QueryTradeInfoRequest) MarshalJSON() ([]byte, error)
func (*QueryTradeInfoRequest) SetCheckMacValue ¶
func (o *QueryTradeInfoRequest) SetCheckMacValue(v string)
SetCheckMacValue sets field value
func (*QueryTradeInfoRequest) SetMerchantID ¶
func (o *QueryTradeInfoRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (*QueryTradeInfoRequest) SetMerchantTradeNo ¶
func (o *QueryTradeInfoRequest) SetMerchantTradeNo(v string)
SetMerchantTradeNo sets field value
func (*QueryTradeInfoRequest) SetPlatformID ¶
func (o *QueryTradeInfoRequest) SetPlatformID(v string)
SetPlatformID gets a reference to the given string and assigns it to the PlatformID field.
func (*QueryTradeInfoRequest) SetTimeStamp ¶
func (o *QueryTradeInfoRequest) SetTimeStamp(v int)
SetTimeStamp sets field value
type RedeemEnum ¶
type RedeemEnum string
RedeemEnum **信用卡是否使用紅利折抵** 設為 Y 時,當綠界特店選擇信用卡付款時,會進入紅利折抵的交易流程。 注意事項: 紅利折抵請參考信用卡紅利折抵辦法
const (
REDEEMENUM_Y RedeemEnum = "Y"
)
List of RedeemEnum
func (RedeemEnum) Ptr ¶
func (v RedeemEnum) Ptr() *RedeemEnum
Ptr returns reference to RedeemEnum value
type ReturnPaymentTypeEnum ¶
type ReturnPaymentTypeEnum string
ReturnPaymentTypeEnum **特店選擇的付款方式** 請參考回覆付款方式一覽表
const ( RETURNPAYMENTTYPEENUM_WEB_ATM_TAISHIN ReturnPaymentTypeEnum = "WebATM_TAISHIN" RETURNPAYMENTTYPEENUM_WEB_ATM_ESUN ReturnPaymentTypeEnum = "WebATM_ESUN" RETURNPAYMENTTYPEENUM_WEB_ATM_BOT ReturnPaymentTypeEnum = "WebATM_BOT" RETURNPAYMENTTYPEENUM_WEB_ATM_FUBON ReturnPaymentTypeEnum = "WebATM_FUBON" RETURNPAYMENTTYPEENUM_WEB_ATM_CHINATRUST ReturnPaymentTypeEnum = "WebATM_CHINATRUST" RETURNPAYMENTTYPEENUM_WEB_ATM_FIRST ReturnPaymentTypeEnum = "WebATM_FIRST" RETURNPAYMENTTYPEENUM_WEB_ATM_CATHAY ReturnPaymentTypeEnum = "WebATM_CATHAY" RETURNPAYMENTTYPEENUM_WEB_ATM_MEGA ReturnPaymentTypeEnum = "WebATM_MEGA" RETURNPAYMENTTYPEENUM_WEB_ATM_LAND ReturnPaymentTypeEnum = "WebATM_LAND" RETURNPAYMENTTYPEENUM_WEB_ATM_TACHONG ReturnPaymentTypeEnum = "WebATM_TACHONG" RETURNPAYMENTTYPEENUM_WEB_ATM_SINOPAC ReturnPaymentTypeEnum = "WebATM_SINOPAC" RETURNPAYMENTTYPEENUM_ATM_TAISHIN ReturnPaymentTypeEnum = "ATM_TAISHIN" RETURNPAYMENTTYPEENUM_ATM_ESUN ReturnPaymentTypeEnum = "ATM_ESUN" RETURNPAYMENTTYPEENUM_ATM_BOT ReturnPaymentTypeEnum = "ATM_BOT" RETURNPAYMENTTYPEENUM_ATM_FUBON ReturnPaymentTypeEnum = "ATM_FUBON" RETURNPAYMENTTYPEENUM_ATM_CHINATRUST ReturnPaymentTypeEnum = "ATM_CHINATRUST" RETURNPAYMENTTYPEENUM_ATM_FIRST ReturnPaymentTypeEnum = "ATM_FIRST" RETURNPAYMENTTYPEENUM_ATM_LAND ReturnPaymentTypeEnum = "ATM_LAND" RETURNPAYMENTTYPEENUM_ATM_CATHAY ReturnPaymentTypeEnum = "ATM_CATHAY" RETURNPAYMENTTYPEENUM_ATM_TACHONG ReturnPaymentTypeEnum = "ATM_TACHONG" RETURNPAYMENTTYPEENUM_CVS_CVS ReturnPaymentTypeEnum = "CVS_CVS" RETURNPAYMENTTYPEENUM_CVS_OK ReturnPaymentTypeEnum = "CVS_OK" RETURNPAYMENTTYPEENUM_CVS_FAMILY ReturnPaymentTypeEnum = "CVS_FAMILY" RETURNPAYMENTTYPEENUM_CVS_HILIFE ReturnPaymentTypeEnum = "CVS_HILIFE" RETURNPAYMENTTYPEENUM_CVS_IBON ReturnPaymentTypeEnum = "CVS_IBON" RETURNPAYMENTTYPEENUM_BARCODE_BARCODE ReturnPaymentTypeEnum = "BARCODE_BARCODE" RETURNPAYMENTTYPEENUM_CREDIT_CREDIT_CARD ReturnPaymentTypeEnum = "Credit_CreditCard" )
List of ReturnPaymentTypeEnum
func (ReturnPaymentTypeEnum) Ptr ¶
func (v ReturnPaymentTypeEnum) Ptr() *ReturnPaymentTypeEnum
Ptr returns reference to ReturnPaymentTypeEnum value
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SimulatePaidEnum ¶
type SimulatePaidEnum int
SimulatePaidEnum **是否為模擬付款** 回傳值: 若為 `1` 時,代表此交易為模擬付款,請勿出貨。 若為 `0` 時,代表此交易非模擬付款。 注意事項: 特店可透過廠商後台網站來針對單筆訂單模擬綠界回傳付款通知,以方便介接 API 的測試。
const ( SIMULATEPAIDENUM_REAL_PAID SimulatePaidEnum = 0 SIMULATEPAIDENUM_SIMULATED SimulatePaidEnum = 1 )
List of SimulatePaidEnum
func (SimulatePaidEnum) Ptr ¶
func (v SimulatePaidEnum) Ptr() *SimulatePaidEnum
Ptr returns reference to SimulatePaidEnum value
type TaxTypeEnum ¶
type TaxTypeEnum string
TaxTypeEnum **課稅類別** 若為應稅,請帶 `1`。 若為零稅率,請帶 `2`。 若為免稅,請帶 `3`。 若為混合應稅與免稅或零稅率時(限收銀機發票無法分辨時使用,且需通過申請核可),則請帶 `9`。
const ( TAXTYPEENUM_TAXABLE TaxTypeEnum = "1" TAXTYPEENUM_ZERO_TAX_RATE TaxTypeEnum = "2" TAXTYPEENUM_DUTY_FREE TaxTypeEnum = "3" TAXTYPEENUM_MIXED TaxTypeEnum = "9" )
List of TaxTypeEnum
func (TaxTypeEnum) Ptr ¶
func (v TaxTypeEnum) Ptr() *TaxTypeEnum
Ptr returns reference to TaxTypeEnum value
type TradeInfo ¶
type TradeInfo struct { // **特店編號(由綠界提供)** MerchantID string `json:"MerchantID" form:"MerchantID"` // **特店交易編號(由特店提供)** 訂單產生時傳送給綠界的特店交易編號。 MerchantTradeNo string `json:"MerchantTradeNo" form:"MerchantTradeNo"` // **特店旗下店舖代號** 提供特店填入分店代號使用,僅可用英數字大小寫混合。 StoreID string `json:"StoreID" form:"StoreID"` // **綠界的交易編號** 首次授權所產生的綠界交易編號 TradeNo string `json:"TradeNo" form:"TradeNo"` // **交易金額** TradeAmt int `json:"TradeAmt" form:"TradeAmt"` // **付款時間** 格式為 yyyy/MM/dd HH:mm:ss PaymentDate ECPayDateTime `json:"PaymentDate" form:"PaymentDate"` PaymentType ReturnPaymentTypeEnum `json:"PaymentType" form:"PaymentType"` // **手續費合計** 履約結束後才會計算,未計算前為 0 HandlingCharge int `json:"HandlingCharge" form:"HandlingCharge"` // **通路費** PaymentTypeChargeFee float32 `json:"PaymentTypeChargeFee" form:"PaymentTypeChargeFee"` // **訂單成立時間** 格式為 yyyy/MM/dd HH:mm:ss TradeDate ECPayDateTime `json:"TradeDate" form:"TradeDate"` // **交易狀態** 回傳值: 若為 0 時,代表交易訂單成立未付款 若為 1 時,代表交易訂單成立已付款 若為 10200095 時,代表消費者未選擇付款方式,故交易失敗。 TradeStatus string `json:"TradeStatus" form:"TradeStatus"` // **商品名稱** ItemName string `json:"ItemName" form:"ItemName"` // **自訂名稱欄位1** 提供合作廠商使用記錄用客製化使用欄位 CustomField1 string `json:"CustomField1" form:"CustomField1"` // **自訂名稱欄位2** 提供合作廠商使用記錄用客製化使用欄位 CustomField2 string `json:"CustomField2" form:"CustomField2"` // **自訂名稱欄位3** 提供合作廠商使用記錄用客製化使用欄位 CustomField3 string `json:"CustomField3" form:"CustomField3"` // **自訂名稱欄位4** 提供合作廠商使用記錄用客製化使用欄位 CustomField4 string `json:"CustomField4" form:"CustomField4"` // **檢查碼** 特店必須檢查檢查碼`CheckMacValue`來驗證,請參考附錄檢查碼機制。 CheckMacValue string `json:"CheckMacValue" form:"CheckMacValue"` }
TradeInfo struct for TradeInfo
func NewTradeInfo ¶
func NewTradeInfo(merchantID string, merchantTradeNo string, storeID string, tradeNo string, tradeAmt int, paymentDate ECPayDateTime, paymentType ReturnPaymentTypeEnum, handlingCharge int, paymentTypeChargeFee float32, tradeDate ECPayDateTime, tradeStatus string, itemName string, customField1 string, customField2 string, customField3 string, customField4 string, checkMacValue string) *TradeInfo
NewTradeInfo instantiates a new TradeInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTradeInfoWithDefaults ¶
func NewTradeInfoWithDefaults() *TradeInfo
NewTradeInfoWithDefaults instantiates a new TradeInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TradeInfo) GetCheckMacValue ¶
GetCheckMacValue returns the CheckMacValue field value
func (*TradeInfo) GetCheckMacValueOk ¶
GetCheckMacValueOk returns a tuple with the CheckMacValue field value and a boolean to check if the value has been set.
func (*TradeInfo) GetCustomField1 ¶
GetCustomField1 returns the CustomField1 field value
func (*TradeInfo) GetCustomField1Ok ¶
GetCustomField1Ok returns a tuple with the CustomField1 field value and a boolean to check if the value has been set.
func (*TradeInfo) GetCustomField2 ¶
GetCustomField2 returns the CustomField2 field value
func (*TradeInfo) GetCustomField2Ok ¶
GetCustomField2Ok returns a tuple with the CustomField2 field value and a boolean to check if the value has been set.
func (*TradeInfo) GetCustomField3 ¶
GetCustomField3 returns the CustomField3 field value
func (*TradeInfo) GetCustomField3Ok ¶
GetCustomField3Ok returns a tuple with the CustomField3 field value and a boolean to check if the value has been set.
func (*TradeInfo) GetCustomField4 ¶
GetCustomField4 returns the CustomField4 field value
func (*TradeInfo) GetCustomField4Ok ¶
GetCustomField4Ok returns a tuple with the CustomField4 field value and a boolean to check if the value has been set.
func (*TradeInfo) GetHandlingCharge ¶
GetHandlingCharge returns the HandlingCharge field value
func (*TradeInfo) GetHandlingChargeOk ¶
GetHandlingChargeOk returns a tuple with the HandlingCharge field value and a boolean to check if the value has been set.
func (*TradeInfo) GetItemName ¶
GetItemName returns the ItemName field value
func (*TradeInfo) GetItemNameOk ¶
GetItemNameOk returns a tuple with the ItemName field value and a boolean to check if the value has been set.
func (*TradeInfo) GetMerchantID ¶
GetMerchantID returns the MerchantID field value
func (*TradeInfo) GetMerchantIDOk ¶
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*TradeInfo) GetMerchantTradeNo ¶
GetMerchantTradeNo returns the MerchantTradeNo field value
func (*TradeInfo) GetMerchantTradeNoOk ¶
GetMerchantTradeNoOk returns a tuple with the MerchantTradeNo field value and a boolean to check if the value has been set.
func (*TradeInfo) GetPaymentDate ¶
func (o *TradeInfo) GetPaymentDate() ECPayDateTime
GetPaymentDate returns the PaymentDate field value
func (*TradeInfo) GetPaymentDateOk ¶
func (o *TradeInfo) GetPaymentDateOk() (*ECPayDateTime, bool)
GetPaymentDateOk returns a tuple with the PaymentDate field value and a boolean to check if the value has been set.
func (*TradeInfo) GetPaymentType ¶
func (o *TradeInfo) GetPaymentType() ReturnPaymentTypeEnum
GetPaymentType returns the PaymentType field value
func (*TradeInfo) GetPaymentTypeChargeFee ¶
GetPaymentTypeChargeFee returns the PaymentTypeChargeFee field value
func (*TradeInfo) GetPaymentTypeChargeFeeOk ¶
GetPaymentTypeChargeFeeOk returns a tuple with the PaymentTypeChargeFee field value and a boolean to check if the value has been set.
func (*TradeInfo) GetPaymentTypeOk ¶
func (o *TradeInfo) GetPaymentTypeOk() (*ReturnPaymentTypeEnum, bool)
GetPaymentTypeOk returns a tuple with the PaymentType field value and a boolean to check if the value has been set.
func (*TradeInfo) GetStoreID ¶
GetStoreID returns the StoreID field value
func (*TradeInfo) GetStoreIDOk ¶
GetStoreIDOk returns a tuple with the StoreID field value and a boolean to check if the value has been set.
func (*TradeInfo) GetTradeAmt ¶
GetTradeAmt returns the TradeAmt field value
func (*TradeInfo) GetTradeAmtOk ¶
GetTradeAmtOk returns a tuple with the TradeAmt field value and a boolean to check if the value has been set.
func (*TradeInfo) GetTradeDate ¶
func (o *TradeInfo) GetTradeDate() ECPayDateTime
GetTradeDate returns the TradeDate field value
func (*TradeInfo) GetTradeDateOk ¶
func (o *TradeInfo) GetTradeDateOk() (*ECPayDateTime, bool)
GetTradeDateOk returns a tuple with the TradeDate field value and a boolean to check if the value has been set.
func (*TradeInfo) GetTradeNo ¶
GetTradeNo returns the TradeNo field value
func (*TradeInfo) GetTradeNoOk ¶
GetTradeNoOk returns a tuple with the TradeNo field value and a boolean to check if the value has been set.
func (*TradeInfo) GetTradeStatus ¶
GetTradeStatus returns the TradeStatus field value
func (*TradeInfo) GetTradeStatusOk ¶
GetTradeStatusOk returns a tuple with the TradeStatus field value and a boolean to check if the value has been set.
func (TradeInfo) MarshalJSON ¶
func (*TradeInfo) SetCheckMacValue ¶
SetCheckMacValue sets field value
func (*TradeInfo) SetCustomField1 ¶
SetCustomField1 sets field value
func (*TradeInfo) SetCustomField2 ¶
SetCustomField2 sets field value
func (*TradeInfo) SetCustomField3 ¶
SetCustomField3 sets field value
func (*TradeInfo) SetCustomField4 ¶
SetCustomField4 sets field value
func (*TradeInfo) SetHandlingCharge ¶
SetHandlingCharge sets field value
func (*TradeInfo) SetItemName ¶
SetItemName sets field value
func (*TradeInfo) SetMerchantID ¶
SetMerchantID sets field value
func (*TradeInfo) SetMerchantTradeNo ¶
SetMerchantTradeNo sets field value
func (*TradeInfo) SetPaymentDate ¶
func (o *TradeInfo) SetPaymentDate(v ECPayDateTime)
SetPaymentDate sets field value
func (*TradeInfo) SetPaymentType ¶
func (o *TradeInfo) SetPaymentType(v ReturnPaymentTypeEnum)
SetPaymentType sets field value
func (*TradeInfo) SetPaymentTypeChargeFee ¶
SetPaymentTypeChargeFee sets field value
func (*TradeInfo) SetTradeDate ¶
func (o *TradeInfo) SetTradeDate(v ECPayDateTime)
SetTradeDate sets field value
func (*TradeInfo) SetTradeStatus ¶
SetTradeStatus sets field value
type UnionPayEnum ¶
type UnionPayEnum int
UnionPayEnum **銀聯卡交易選項** 可帶入以下選項: `0`: 消費者於交易頁面可選擇是否使用銀聯交易。 `1`: 只使用銀聯卡交易,且綠界會將交易頁面直接導到銀聯網站。 `2`: 不可使用銀聯卡,綠界會將交易頁面隱藏銀聯選項。 注意事項: 1.若需使用銀聯卡服務,請與綠界提出申請方可使用,測試環境未提供銀聯卡服務。 2.不支援信用卡分期付款及定期定額。 3.不支援信用卡紅利折抵 4.不支援信用卡記憶卡號功能
const ( UNIONPAYENUM_NOT_SPECIFIED UnionPayEnum = 0 UNIONPAYENUM_SPECIFIED UnionPayEnum = 1 UNIONPAYENUM_HIDDEN UnionPayEnum = 2 )
List of UnionPayEnum
func (UnionPayEnum) Ptr ¶
func (v UnionPayEnum) Ptr() *UnionPayEnum
Ptr returns reference to UnionPayEnum value
Source Files ¶
- api_call_back.go
- api_ec_pay.go
- client.go
- configuration.go
- model_aio_check_out_atm_option.go
- model_aio_check_out_credit_installment_option.go
- model_aio_check_out_credit_onetime_option.go
- model_aio_check_out_credit_option.go
- model_aio_check_out_credit_period_option.go
- model_aio_check_out_cvs_barcode_option.go
- model_aio_check_out_general_option.go
- model_aio_check_out_invoice_option.go
- model_aio_check_payment_type_enum.go
- model_binding_card_enum.go
- model_carruer_type_enum.go
- model_choose_payment_enum.go
- model_choose_sub_payment_enum.go
- model_clearance_mark_enum.go
- model_credit_card_period_info.go
- model_credit_period_type_enum.go
- model_encrypt_type_enum.go
- model_exec_log_record.go
- model_exec_status_enum.go
- model_invoice_donation_eunm.go
- model_invoice_mark_enum.go
- model_invoice_print_enum.go
- model_language_enum.go
- model_need_extra_paid_info_enum.go
- model_order_result.go
- model_period_order_result.go
- model_query_credit_card_period_info_request.go
- model_query_trade_info_request.go
- model_redeem_enum.go
- model_return_payment_type_enum.go
- model_simulate_paid_enum.go
- model_tax_type_enum.go
- model_trade_info.go
- model_union_pay_enum.go
- response.go
- utils.go