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

package com.azure.resourcemanager.billing.implementation;

import com.azure.resourcemanager.billing.fluent.models.ValidateProductTransferEligibilityResultInner;
import com.azure.resourcemanager.billing.models.ValidateProductTransferEligibilityError;
import com.azure.resourcemanager.billing.models.ValidateProductTransferEligibilityResult;

public final class ValidateProductTransferEligibilityResultImpl implements ValidateProductTransferEligibilityResult {
    private ValidateProductTransferEligibilityResultInner innerObject;

    private final com.azure.resourcemanager.billing.BillingManager serviceManager;

    ValidateProductTransferEligibilityResultImpl(
        ValidateProductTransferEligibilityResultInner innerObject,
        com.azure.resourcemanager.billing.BillingManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public Boolean isMoveEligible() {
        return this.innerModel().isMoveEligible();
    }

    public ValidateProductTransferEligibilityError errorDetails() {
        return this.innerModel().errorDetails();
    }

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

    private com.azure.resourcemanager.billing.BillingManager manager() {
        return this.serviceManager;
    }
}
