Name | Type | Description | Notes |
---|---|---|---|
Amount | Pointer to int32 | 单位为分 | [optional] |
AppName | Pointer to string | [optional] | |
CnsName | string | ||
CodeUrl | Pointer to string | [optional] | |
Description | Pointer to string | [optional] | |
Duration | int32 | ||
Fuses | Pointer to int32 | [optional] | |
H5Url | Pointer to string | [optional] | |
QrCodeWidth | Pointer to string | 二维码宽度。 只有alipay,且 trade type 为 h5 模式有效,qr pay mode 为4 时有效; 用法参考 https://opendocs.alipay.com/apis/api_1/alipay.trade.page.pay?scene=22 | [optional] |
QrPayMode | Pointer to string | 支付二维码模式。 只有alipay,且 trade type 为 h5 模式有效; 用法参考 https://opendocs.alipay.com/apis/api_1/alipay.trade.page.pay?scene=22 | [optional] |
RefundState | Pointer to string | [optional] | |
ReturnUrl | Pointer to string | 付款成功后的跳转链接。只有alipay,且 trade type 为 h5 模式有效; 用法参考 https://opendocs.alipay.com/apis/api_1/alipay.trade.page.pay?scene=22 | [optional] |
TimeExpire | Pointer to string | [optional] | |
TradeNo | Pointer to string | [optional] | |
TradeProvider | Pointer to string | [optional] | |
TradeState | Pointer to string | [optional] | |
TradeType | Pointer to string | [optional] | |
TxError | Pointer to string | [optional] | |
TxHash | Pointer to string | [optional] | |
TxState | Pointer to int32 | [optional] | |
WapUrl | Pointer to string | [optional] | |
WrapperExpiry | int32 |
func NewModelsRenewCore(cnsName string, duration int32, wrapperExpiry int32, ) *ModelsRenewCore
NewModelsRenewCore instantiates a new ModelsRenewCore 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 NewModelsRenewCoreWithDefaults() *ModelsRenewCore
NewModelsRenewCoreWithDefaults instantiates a new ModelsRenewCore 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 (o *ModelsRenewCore) GetAmount() int32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetAmount(v int32)
SetAmount sets Amount field to given value.
func (o *ModelsRenewCore) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetAppName() string
GetAppName returns the AppName field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetAppNameOk() (*string, bool)
GetAppNameOk returns a tuple with the AppName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetAppName(v string)
SetAppName sets AppName field to given value.
func (o *ModelsRenewCore) HasAppName() bool
HasAppName returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetCnsName() string
GetCnsName returns the CnsName field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetCnsNameOk() (*string, bool)
GetCnsNameOk returns a tuple with the CnsName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetCnsName(v string)
SetCnsName sets CnsName field to given value.
func (o *ModelsRenewCore) GetCodeUrl() string
GetCodeUrl returns the CodeUrl field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetCodeUrlOk() (*string, bool)
GetCodeUrlOk returns a tuple with the CodeUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetCodeUrl(v string)
SetCodeUrl sets CodeUrl field to given value.
func (o *ModelsRenewCore) HasCodeUrl() bool
HasCodeUrl returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ModelsRenewCore) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetDuration() int32
GetDuration returns the Duration field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetDuration(v int32)
SetDuration sets Duration field to given value.
func (o *ModelsRenewCore) GetFuses() int32
GetFuses returns the Fuses field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetFusesOk() (*int32, bool)
GetFusesOk returns a tuple with the Fuses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetFuses(v int32)
SetFuses sets Fuses field to given value.
func (o *ModelsRenewCore) HasFuses() bool
HasFuses returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetH5Url() string
GetH5Url returns the H5Url field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetH5UrlOk() (*string, bool)
GetH5UrlOk returns a tuple with the H5Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetH5Url(v string)
SetH5Url sets H5Url field to given value.
func (o *ModelsRenewCore) HasH5Url() bool
HasH5Url returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetQrCodeWidth() string
GetQrCodeWidth returns the QrCodeWidth field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetQrCodeWidthOk() (*string, bool)
GetQrCodeWidthOk returns a tuple with the QrCodeWidth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetQrCodeWidth(v string)
SetQrCodeWidth sets QrCodeWidth field to given value.
func (o *ModelsRenewCore) HasQrCodeWidth() bool
HasQrCodeWidth returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetQrPayMode() string
GetQrPayMode returns the QrPayMode field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetQrPayModeOk() (*string, bool)
GetQrPayModeOk returns a tuple with the QrPayMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetQrPayMode(v string)
SetQrPayMode sets QrPayMode field to given value.
func (o *ModelsRenewCore) HasQrPayMode() bool
HasQrPayMode returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetRefundState() string
GetRefundState returns the RefundState field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetRefundStateOk() (*string, bool)
GetRefundStateOk returns a tuple with the RefundState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetRefundState(v string)
SetRefundState sets RefundState field to given value.
func (o *ModelsRenewCore) HasRefundState() bool
HasRefundState returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetReturnUrl() string
GetReturnUrl returns the ReturnUrl field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetReturnUrlOk() (*string, bool)
GetReturnUrlOk returns a tuple with the ReturnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetReturnUrl(v string)
SetReturnUrl sets ReturnUrl field to given value.
func (o *ModelsRenewCore) HasReturnUrl() bool
HasReturnUrl returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetTimeExpire() string
GetTimeExpire returns the TimeExpire field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetTimeExpireOk() (*string, bool)
GetTimeExpireOk returns a tuple with the TimeExpire field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetTimeExpire(v string)
SetTimeExpire sets TimeExpire field to given value.
func (o *ModelsRenewCore) HasTimeExpire() bool
HasTimeExpire returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetTradeNo() string
GetTradeNo returns the TradeNo field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetTradeNoOk() (*string, bool)
GetTradeNoOk returns a tuple with the TradeNo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetTradeNo(v string)
SetTradeNo sets TradeNo field to given value.
func (o *ModelsRenewCore) HasTradeNo() bool
HasTradeNo returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetTradeProvider() string
GetTradeProvider returns the TradeProvider field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetTradeProviderOk() (*string, bool)
GetTradeProviderOk returns a tuple with the TradeProvider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetTradeProvider(v string)
SetTradeProvider sets TradeProvider field to given value.
func (o *ModelsRenewCore) HasTradeProvider() bool
HasTradeProvider returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetTradeState() string
GetTradeState returns the TradeState field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetTradeStateOk() (*string, bool)
GetTradeStateOk returns a tuple with the TradeState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetTradeState(v string)
SetTradeState sets TradeState field to given value.
func (o *ModelsRenewCore) HasTradeState() bool
HasTradeState returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetTradeType() string
GetTradeType returns the TradeType field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetTradeTypeOk() (*string, bool)
GetTradeTypeOk returns a tuple with the TradeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetTradeType(v string)
SetTradeType sets TradeType field to given value.
func (o *ModelsRenewCore) HasTradeType() bool
HasTradeType returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetTxError() string
GetTxError returns the TxError field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetTxErrorOk() (*string, bool)
GetTxErrorOk returns a tuple with the TxError field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetTxError(v string)
SetTxError sets TxError field to given value.
func (o *ModelsRenewCore) HasTxError() bool
HasTxError returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetTxHash() string
GetTxHash returns the TxHash field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetTxHashOk() (*string, bool)
GetTxHashOk returns a tuple with the TxHash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetTxHash(v string)
SetTxHash sets TxHash field to given value.
func (o *ModelsRenewCore) HasTxHash() bool
HasTxHash returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetTxState() int32
GetTxState returns the TxState field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetTxStateOk() (*int32, bool)
GetTxStateOk returns a tuple with the TxState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetTxState(v int32)
SetTxState sets TxState field to given value.
func (o *ModelsRenewCore) HasTxState() bool
HasTxState returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetWapUrl() string
GetWapUrl returns the WapUrl field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetWapUrlOk() (*string, bool)
GetWapUrlOk returns a tuple with the WapUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetWapUrl(v string)
SetWapUrl sets WapUrl field to given value.
func (o *ModelsRenewCore) HasWapUrl() bool
HasWapUrl returns a boolean if a field has been set.
func (o *ModelsRenewCore) GetWrapperExpiry() int32
GetWrapperExpiry returns the WrapperExpiry field if non-nil, zero value otherwise.
func (o *ModelsRenewCore) GetWrapperExpiryOk() (*int32, bool)
GetWrapperExpiryOk returns a tuple with the WrapperExpiry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsRenewCore) SetWrapperExpiry(v int32)
SetWrapperExpiry sets WrapperExpiry field to given value.