C# Class Zuora.Services.ProductCatalogManager

Show file Open project: zuorasc/c-sharp-quickstart Class Usage Examples

Public Methods

Method Description
ChangePriceForProduct ( String productRatePlanChargeId, Decimal newPrices, String currency ) : List
CreateProduct ( string name, Constants productType, string sku = null, string description = null, bool dupeNameCheck = true ) : ProductHolder
CreateRatePlanWithOneTimeCharge ( Product product, string ratePlanName, decimal price ) : ProductRatePlanHolder
DeleteProduct ( string productId ) : void
DeleteRatePlan ( string ratePlanId ) : void
DisableRatePlan ( String productRatePlanId, System.DateTime date ) : ResponseHolder
GetProductById ( string productId ) : ProductHolder
GetProductByName ( String name ) : ProductHolder
GetProductCatalog ( ) : List
GetProductRatePlanByName ( String name ) : ProductRatePlanHolder
GetProductRatePlanByName ( string productId, string name ) : ProductRatePlanHolder
GetRatePlan ( string ratePlanId ) : ProductRatePlanHolder
ProductCatalogManager ( ZuoraService zs, string cachePath ) : System

Private Methods

Method Description
ClearCache ( ) : void
ReadCache ( ) : List

Method Details

ChangePriceForProduct() public method

public ChangePriceForProduct ( String productRatePlanChargeId, Decimal newPrices, String currency ) : List
productRatePlanChargeId String
newPrices Decimal
currency String
return List

CreateProduct() public method

public CreateProduct ( string name, Constants productType, string sku = null, string description = null, bool dupeNameCheck = true ) : ProductHolder
name string
productType Constants
sku string
description string
dupeNameCheck bool
return ProductHolder

CreateRatePlanWithOneTimeCharge() public method

public CreateRatePlanWithOneTimeCharge ( Product product, string ratePlanName, decimal price ) : ProductRatePlanHolder
product Product
ratePlanName string
price decimal
return ProductRatePlanHolder

DeleteProduct() public method

public DeleteProduct ( string productId ) : void
productId string
return void

DeleteRatePlan() public method

public DeleteRatePlan ( string ratePlanId ) : void
ratePlanId string
return void

DisableRatePlan() public method

public DisableRatePlan ( String productRatePlanId, System.DateTime date ) : ResponseHolder
productRatePlanId String
date System.DateTime
return ResponseHolder

GetProductById() public method

public GetProductById ( string productId ) : ProductHolder
productId string
return ProductHolder

GetProductByName() public method

public GetProductByName ( String name ) : ProductHolder
name String
return ProductHolder

GetProductCatalog() public method

public GetProductCatalog ( ) : List
return List

GetProductRatePlanByName() public method

public GetProductRatePlanByName ( String name ) : ProductRatePlanHolder
name String
return ProductRatePlanHolder

GetProductRatePlanByName() public method

public GetProductRatePlanByName ( string productId, string name ) : ProductRatePlanHolder
productId string
name string
return ProductRatePlanHolder

GetRatePlan() public method

public GetRatePlan ( string ratePlanId ) : ProductRatePlanHolder
ratePlanId string
return ProductRatePlanHolder

ProductCatalogManager() public method

public ProductCatalogManager ( ZuoraService zs, string cachePath ) : System
zs ZuoraService
cachePath string
return System