Class ExtendedCredit

    • Method Detail

      • getAllocatedAmount

        public CurrencyAmount getAllocatedAmount()
        The total amount of credit that has been granted to other businesses. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies.
      • setAllocatedAmount

        public void setAllocatedAmount​(CurrencyAmount allocatedAmount)
        The total amount of credit that has been granted to other businesses. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies.
      • getBalance

        public CurrencyAmount getBalance()
        The total amount spent. This is calculated by adding parent ad account and all child ad accounts. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies.
      • setBalance

        public void setBalance​(CurrencyAmount balance)
        The total amount spent. This is calculated by adding parent ad account and all child ad accounts. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies.
      • getCreditType

        public String getCreditType()
        The type of extended credit used. The most common are ADS_BUSINESS and ADS_SEQUENTIAL
      • setCreditType

        public void setCreditType​(String creditType)
        The type of extended credit used. The most common are ADS_BUSINESS and ADS_SEQUENTIAL
      • getIsAccessRevoked

        public Boolean getIsAccessRevoked()
        Returns true if credit owner removed access for previously shared credit line
      • setIsAccessRevoked

        public void setIsAccessRevoked​(Boolean isAccessRevoked)
        Returns true if credit owner removed access for previously shared credit line
      • setIsAutomatedExperience

        public void setIsAutomatedExperience​(Boolean isAutomatedExperience)
        Whether this credential is using the fully automated experience
      • setLegalEntityName

        public void setLegalEntityName​(String legalEntityName)
        The legal entity name of the owner of a line
      • getLiableBizName

        public String getLiableBizName()
        When this credit is chosen as the payment method, the business name of the liable_party
      • setLiableBizName

        public void setLiableBizName​(String liableBizName)
        When this credit is chosen as the payment method, the business name of the liable_party
      • getMaxBalance

        public CurrencyAmount getMaxBalance()
        The amount of credit available to a specific business. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies.
      • setMaxBalance

        public void setMaxBalance​(CurrencyAmount maxBalance)
        The amount of credit available to a specific business. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies.
      • getOnlineMaxBalance

        public CurrencyAmount getOnlineMaxBalance()
        The raw credit limit for an entire business. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies.
      • setOnlineMaxBalance

        public void setOnlineMaxBalance​(CurrencyAmount onlineMaxBalance)
        The raw credit limit for an entire business. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies.
      • setOwnerBusiness

        public void setOwnerBusiness​(Business ownerBusiness)
        The business account responsible for extended credit payment
      • getOwnerBusinessName

        public String getOwnerBusinessName()
        The name of the business account responsible for extended credit payment
      • setOwnerBusinessName

        public void setOwnerBusinessName​(String ownerBusinessName)
        The name of the business account responsible for extended credit payment
      • getPartitionFrom

        public String getPartitionFrom()
        The name of the business that granted the credit line. For ADS_SEQUENTIAL credit types
      • setPartitionFrom

        public void setPartitionFrom​(String partitionFrom)
        The name of the business that granted the credit line. For ADS_SEQUENTIAL credit types
      • getSendBillToBizNname

        public String getSendBillToBizNname()
        When this credit is chosen as the payment method, the business name of the bill_to_party
      • setSendBillToBizNname

        public void setSendBillToBizNname​(String sendBillToBizNname)
        When this credit is chosen as the payment method, the business name of the bill_to_party