From 85c3e2e37f26730024d9b269114148e2077dfea9 Mon Sep 17 00:00:00 2001 From: harymindiar Date: Wed, 17 May 2017 15:15:46 +0700 Subject: [PATCH] use pointer to make working --- request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request.go b/request.go index 12a94d4..34a1f39 100644 --- a/request.go +++ b/request.go @@ -152,7 +152,7 @@ type ChargeReq struct { CIMBClicks *CIMBClicksDetail `json:"cimb_clicks,omitempty"` TelkomselCash *TelkomselCashDetail `json:"telkomsel_cash,omitempty"` IndosatDompetku *IndosatDompetkuDetail `json:"indosat_dompetku,omitempty"` - CustomerDetail CustDetail `json:"customer_details,omitempty"` + CustomerDetail *CustDetail `json:"customer_details,omitempty"` ConvStore *ConvStoreDetail `json:"cstore,omitempty"` Items *[]ItemDetail `json:"item_details,omitempty"`