All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.store.partnercenter.invoices.EstimateLinkOperations Maven / Gradle / Ivy

There is a newer version: 1.15.3
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.

package com.microsoft.store.partnercenter.invoices;

import com.microsoft.store.partnercenter.BasePartnerComponentString;
import com.microsoft.store.partnercenter.IPartner;

/**
 * Represents the operations that can be done on the partner's estimate
 * collection.
 */
public class EstimateLinkOperations
    extends BasePartnerComponentString
    implements IEstimateLink    
{
	/**
	 * Initializes a new instance of the EstimateLinkOperations class.
	 * 
	 * @param rootPartnerOperations The root partner operations instance.
	 */
	public EstimateLinkOperations(IPartner rootPartnerOperations)
	{
		super(rootPartnerOperations);
	}

    /**
     * Gets the operations that can be applied on products from a given country.
     * 
     * @param currencyCode The currency code for the country.
     * @return The operations that can be performed on estimate link collection that belong to a given currency.
     */
    @Override
    public IEstimateLinkCollectionByCurrency byCurrency(String currencyCode) 
    {
        return new EstimateLinkCollectionByCurrencyOperations(this.getPartner(), currencyCode);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy