@@ -64,7 +64,7 @@ func TestClient_CreateCharge_Integration(t *testing.T) {
64
64
Description : "" ,
65
65
LocalPrice : entity.CreateChargePrice {},
66
66
PricingType : "" ,
67
- Metadata : entity. CreateChargeMetadata {},
67
+ Metadata : map [ string ] string {},
68
68
RedirectURL : "" ,
69
69
CancelURL : "" ,
70
70
},
@@ -83,9 +83,9 @@ func TestClient_CreateCharge_Integration(t *testing.T) {
83
83
Currency : "USD" ,
84
84
},
85
85
PricingType : enum .PricingTypeFixedPrice ,
86
- Metadata : entity. CreateChargeMetadata {
87
- CustomerID : "id_1005" ,
88
- CustomerName : "Satoshi Nakamoto" ,
86
+ Metadata : map [ string ] string {
87
+ "customer_id" : "id_1005" ,
88
+ "customer_name" : "Satoshi Nakamoto" ,
89
89
},
90
90
RedirectURL : "https://charge/completed/page" ,
91
91
CancelURL : "https://charge/canceled/page" ,
@@ -150,9 +150,9 @@ func TestClient_ShowCharge_Integration(t *testing.T) {
150
150
Currency : "USD" ,
151
151
},
152
152
PricingType : enum .PricingTypeFixedPrice ,
153
- Metadata : entity. CreateChargeMetadata {
154
- CustomerID : "id_1005" ,
155
- CustomerName : "Satoshi Nakamoto" ,
153
+ Metadata : map [ string ] string {
154
+ "customer_id" : "id_1005" ,
155
+ "customer_name" : "Satoshi Nakamoto" ,
156
156
},
157
157
RedirectURL : "https://charge/completed/page" ,
158
158
CancelURL : "https://charge/canceled/page" ,
@@ -183,9 +183,9 @@ func TestClient_ShowCharge_Integration(t *testing.T) {
183
183
Currency : "USD" ,
184
184
},
185
185
PricingType : enum .PricingTypeFixedPrice ,
186
- Metadata : entity. CreateChargeMetadata {
187
- CustomerID : "id_1005" ,
188
- CustomerName : "Satoshi Nakamoto" ,
186
+ Metadata : map [ string ] string {
187
+ "customer_id" : "id_1005" ,
188
+ "customer_name" : "Satoshi Nakamoto" ,
189
189
},
190
190
RedirectURL : "https://charge/completed/page" ,
191
191
CancelURL : "https://charge/canceled/page" ,
@@ -347,9 +347,9 @@ func TestClient_CancelCharge_Integration(t *testing.T) {
347
347
Currency : "USD" ,
348
348
},
349
349
PricingType : enum .PricingTypeFixedPrice ,
350
- Metadata : entity. CreateChargeMetadata {
351
- CustomerID : "id_1005" ,
352
- CustomerName : "Satoshi Nakamoto" ,
350
+ Metadata : map [ string ] string {
351
+ "customer_id" : "id_1005" ,
352
+ "customer_name" : "Satoshi Nakamoto" ,
353
353
},
354
354
RedirectURL : "https://charge/completed/page" ,
355
355
CancelURL : "https://charge/canceled/page" ,
@@ -380,9 +380,9 @@ func TestClient_CancelCharge_Integration(t *testing.T) {
380
380
Currency : "USD" ,
381
381
},
382
382
PricingType : enum .PricingTypeFixedPrice ,
383
- Metadata : entity. CreateChargeMetadata {
384
- CustomerID : "id_1005" ,
385
- CustomerName : "Satoshi Nakamoto" ,
383
+ Metadata : map [ string ] string {
384
+ "customer_id" : "id_1005" ,
385
+ "customer_name" : "Satoshi Nakamoto" ,
386
386
},
387
387
RedirectURL : "https://charge/completed/page" ,
388
388
CancelURL : "https://charge/canceled/page" ,
@@ -453,9 +453,9 @@ func TestClient_ResolveCharge_Integration(t *testing.T) {
453
453
Currency : "USD" ,
454
454
},
455
455
PricingType : enum .PricingTypeFixedPrice ,
456
- Metadata : entity. CreateChargeMetadata {
457
- CustomerID : "id_1005" ,
458
- CustomerName : "Satoshi Nakamoto" ,
456
+ Metadata : map [ string ] string {
457
+ "customer_id" : "id_1005" ,
458
+ "customer_name" : "Satoshi Nakamoto" ,
459
459
},
460
460
RedirectURL : "https://charge/completed/page" ,
461
461
CancelURL : "https://charge/resolveed/page" ,
@@ -486,9 +486,9 @@ func TestClient_ResolveCharge_Integration(t *testing.T) {
486
486
Currency : "USD" ,
487
487
},
488
488
PricingType : enum .PricingTypeFixedPrice ,
489
- Metadata : entity. CreateChargeMetadata {
490
- CustomerID : "id_1005" ,
491
- CustomerName : "Satoshi Nakamoto" ,
489
+ Metadata : map [ string ] string {
490
+ "customer_id" : "id_1005" ,
491
+ "customer_name" : "Satoshi Nakamoto" ,
492
492
},
493
493
RedirectURL : "https://charge/completed/page" ,
494
494
CancelURL : "https://charge/resolveed/page" ,
0 commit comments