// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.consumption.implementation;

import com.azure.resourcemanager.consumption.fluent.models.LotSummaryInner;
import com.azure.resourcemanager.consumption.models.Amount;
import com.azure.resourcemanager.consumption.models.AmountWithExchangeRate;
import com.azure.resourcemanager.consumption.models.LotSource;
import com.azure.resourcemanager.consumption.models.LotSummary;
import com.azure.resourcemanager.consumption.models.Reseller;
import com.azure.resourcemanager.consumption.models.Status;
import java.time.OffsetDateTime;

public final class LotSummaryImpl implements LotSummary {
    private LotSummaryInner innerObject;

    private final com.azure.resourcemanager.consumption.ConsumptionManager serviceManager;

    LotSummaryImpl(
        LotSummaryInner innerObject, com.azure.resourcemanager.consumption.ConsumptionManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public String id() {
        return this.innerModel().id();
    }

    public String name() {
        return this.innerModel().name();
    }

    public String type() {
        return this.innerModel().type();
    }

    public String etag() {
        return this.innerModel().etag();
    }

    public Amount originalAmount() {
        return this.innerModel().originalAmount();
    }

    public Amount closedBalance() {
        return this.innerModel().closedBalance();
    }

    public LotSource source() {
        return this.innerModel().source();
    }

    public OffsetDateTime startDate() {
        return this.innerModel().startDate();
    }

    public OffsetDateTime expirationDate() {
        return this.innerModel().expirationDate();
    }

    public String poNumber() {
        return this.innerModel().poNumber();
    }

    public OffsetDateTime purchasedDate() {
        return this.innerModel().purchasedDate();
    }

    public Status status() {
        return this.innerModel().status();
    }

    public String creditCurrency() {
        return this.innerModel().creditCurrency();
    }

    public String billingCurrency() {
        return this.innerModel().billingCurrency();
    }

    public AmountWithExchangeRate originalAmountInBillingCurrency() {
        return this.innerModel().originalAmountInBillingCurrency();
    }

    public AmountWithExchangeRate closedBalanceInBillingCurrency() {
        return this.innerModel().closedBalanceInBillingCurrency();
    }

    public Reseller reseller() {
        return this.innerModel().reseller();
    }

    public String etagPropertiesEtag() {
        return this.innerModel().etagPropertiesEtag();
    }

    public LotSummaryInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.consumption.ConsumptionManager manager() {
        return this.serviceManager;
    }
}
