C# 클래스 ShopifySharp.ShopifyApplicationCreditService

A service for offering credits for payments made via the Application Charge, Recurring Application Charge, and Usage Charge APIs.
상속: ShopifySharp.ShopifyService
파일 보기 프로젝트 열기: nozzlegear/ShopifySharp

공개 메소드들

메소드 설명
CreateAsync ( ShopifyApplicationCredit credit ) : Task

Creates a new ShopifyApplicationCredit.

GetAsync ( long id, string fields = null ) : Task

Retrieves the application credit with the given id.

ListAsync ( string fields = null ) : Task>

Gets a list of all past and present application credits.

ShopifyApplicationCreditService ( string myShopifyUrl, string shopAccessToken ) : RestSharp

Creates a new instance of ShopifyApplicationCreditService.

메소드 상세

CreateAsync() 공개 메소드

Creates a new ShopifyApplicationCredit.
public CreateAsync ( ShopifyApplicationCredit credit ) : Task
credit ShopifyApplicationCredit A new . Id should be set to null.
리턴 Task

GetAsync() 공개 메소드

Retrieves the application credit with the given id.
public GetAsync ( long id, string fields = null ) : Task
id long The application credit's id.
fields string A comma-separated list of fields to include in the response.
리턴 Task

ListAsync() 공개 메소드

Gets a list of all past and present application credits.
public ListAsync ( string fields = null ) : Task>
fields string A comma-separated list of fields to include in the response.
리턴 Task>

ShopifyApplicationCreditService() 공개 메소드

Creates a new instance of ShopifyApplicationCreditService.
public ShopifyApplicationCreditService ( string myShopifyUrl, string shopAccessToken ) : RestSharp
myShopifyUrl string The shop's *.myshopify.com URL.
shopAccessToken string An API access token for the shop.
리턴 RestSharp