subscribe_customer

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL