// 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.EventSummaryInner;
import com.azure.resourcemanager.consumption.models.Amount;
import com.azure.resourcemanager.consumption.models.AmountWithExchangeRate;
import com.azure.resourcemanager.consumption.models.EventSummary;
import com.azure.resourcemanager.consumption.models.EventType;
import com.azure.resourcemanager.consumption.models.Reseller;
import java.time.OffsetDateTime;

public final class EventSummaryImpl implements EventSummary {
    private EventSummaryInner innerObject;

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

    EventSummaryImpl(
        EventSummaryInner 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 OffsetDateTime transactionDate() {
        return this.innerModel().transactionDate();
    }

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

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

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

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

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

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

    public EventType eventType() {
        return this.innerModel().eventType();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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