Documentation ¶
Index ¶
- Constants
- func DeleteBillingKey(client *http.Client, apiDomain string, token string, ...) (*subscribe.DeleteCustomerBillingKeyResponse, error)
- func GetBillingKeyByCustomer(client *http.Client, apiDomain string, token string, ...) (*subscribe.GetCustomerBillingKeyResponse, error)
- func GetMultipleBillingKeysByCustomer(client *http.Client, apiDomain string, token string, ...) (*subscribe.GetMultipleCustomerBillingKeyResponse, error)
- func GetPaymentsByCustomer(client *http.Client, apiDomain string, token string, ...) (*subscribe.GetPaidByBillingKeyListResponse, error)
- func GetScheduledPaymentByCustomerUID(client *http.Client, apiDomain string, token string, ...) (*subscribe_dup.GetPaymentScheduleByCustomerResponse, error)
- func InsertBillingKeyByCustomer(client *http.Client, apiDomain string, token string, ...) (*subscribe.InsertCustomerBillingKeyResponse, error)
Constants ¶
View Source
const ( URLSubscribe = "/subscribe" URLCustomers = "/customers" URLPayments = "/payments" URLSchedules = "/schedules" URLParamCustomerUID = "customer_uid[]=" URLParamReason = "reason=" URLParamRequester = "requester=" URLParamPage = "page=" URLParamFrom = "from=" URLParamTo = "to=" URLParamScheduleStatus = "schedule-status=" )
Variables ¶
This section is empty.
Functions ¶
func DeleteBillingKey ¶
func DeleteBillingKey(client *http.Client, apiDomain string, token string, params *subscribe.DeleteCustomerBillingKeyRequest) (*subscribe.DeleteCustomerBillingKeyResponse, error)
DeleteBillingKey - DELETE /subscribe/customers/{customer_uid} 해당 빌링키 삭제
func GetBillingKeyByCustomer ¶
func GetBillingKeyByCustomer(client *http.Client, apiDomain string, token string, params *subscribe.GetCustomerBillingKeyRequest) (*subscribe.GetCustomerBillingKeyResponse, error)
GetBillingKeyByCustomer - GET /subscribe/customers/{customer_uid} 구매자 빌링키 조회하는 API
func GetMultipleBillingKeysByCustomer ¶
func GetMultipleBillingKeysByCustomer(client *http.Client, apiDomain string, token string, params *subscribe.GetMultipleCustomerBillingKeyRequest) (*subscribe.GetMultipleCustomerBillingKeyResponse, error)
GetMultipleBillingKeysByCustomer - GET /subscribe/customers 여러 빌링키를 한 번에 조회하는 API
func GetPaymentsByCustomer ¶
func GetPaymentsByCustomer(client *http.Client, apiDomain string, token string, params *subscribe.GetPaidByBillingKeyListRequest) (*subscribe.GetPaidByBillingKeyListResponse, error)
GetPaymentsByCustomer - GET /subscribe/customers/{customer_uid}/payments 여러 빌링키를 한 번에 조회하는 API
func GetScheduledPaymentByCustomerUID ¶
func GetScheduledPaymentByCustomerUID(client *http.Client, apiDomain string, token string, params *subscribe_dup.GetPaymentScheduleByCustomerRequest) (*subscribe_dup.GetPaymentScheduleByCustomerResponse, error)
GetScheduledPaymentByCustomerUID - GET /subscribe/customers/{customer_uid}/schedules 예약한 결제 내역을 가져옵니다
func InsertBillingKeyByCustomer ¶
func InsertBillingKeyByCustomer(client *http.Client, apiDomain string, token string, params *subscribe.InsertCustomerBillingKeyRequest) (*subscribe.InsertCustomerBillingKeyResponse, error)
InsertBillingKeyByCustomer - POST /subscribe/customers/{customer_uid} 구매자 빌링키 입력하는 API
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.