/
model_need_extra_paid_info_enum.go
64 lines (51 loc) · 1.7 KB
/
model_need_extra_paid_info_enum.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* ECPay API
*
* 綠界金流 API 定義文件
*
* API version: 0.0.24
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package ecpayBase
import (
"encoding/json"
)
// NeedExtraPaidInfoEnum **是否需要額外的付款資訊** 額外的付款資訊: 若不回傳額外的付款資訊時,參數值請傳:`N`; 若要回傳額外的付款資訊時,參數值請傳:`Y`,付款完成後綠界會以 Server POST 方式回傳額外付款資訊。 注意事項: 回傳額外付款資訊參數請參考-額外回傳的參數
type NeedExtraPaidInfoEnum string
// List of NeedExtraPaidInfoEnum
const (
NEEDEXTRAPAIDINFOENUM_Y NeedExtraPaidInfoEnum = "Y"
NEEDEXTRAPAIDINFOENUM_N NeedExtraPaidInfoEnum = "N"
)
// Ptr returns reference to NeedExtraPaidInfoEnum value
func (v NeedExtraPaidInfoEnum) Ptr() *NeedExtraPaidInfoEnum {
return &v
}
type NullableNeedExtraPaidInfoEnum struct {
value *NeedExtraPaidInfoEnum
isSet bool
}
func (v NullableNeedExtraPaidInfoEnum) Get() *NeedExtraPaidInfoEnum {
return v.value
}
func (v *NullableNeedExtraPaidInfoEnum) Set(val *NeedExtraPaidInfoEnum) {
v.value = val
v.isSet = true
}
func (v NullableNeedExtraPaidInfoEnum) IsSet() bool {
return v.isSet
}
func (v *NullableNeedExtraPaidInfoEnum) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableNeedExtraPaidInfoEnum(val *NeedExtraPaidInfoEnum) *NullableNeedExtraPaidInfoEnum {
return &NullableNeedExtraPaidInfoEnum{value: val, isSet: true}
}
func (v NullableNeedExtraPaidInfoEnum) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableNeedExtraPaidInfoEnum) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}