Interface MutableAccountData

  • All Superinterfaces:
    AccountData

    public interface MutableAccountData
    extends AccountData
    The interface MutableAccountData is used to set the AccountData fields individually and pass them as the whole to the AccountUserApi.
    • Method Detail

      • setExternalKey

        void setExternalKey​(String externalKey)
        Sets the account external Key
        Parameters:
        externalKey -
      • setEmail

        void setEmail​(String email)
        Sets the default account email
        Parameters:
        email -
      • setName

        void setName​(String name)
        Sets the account name
        Parameters:
        name -
      • setFirstNameLength

        void setFirstNameLength​(int firstNameLength)
        Sets the length for the first name-- if applicable
        Parameters:
        firstNameLength -
      • setCurrency

        void setCurrency​(Currency currency)
        Sets the account currency
        Parameters:
        currency -
      • setBillCycleDayLocal

        void setBillCycleDayLocal​(int billCycleDayLocal)
        Sets the account billCycleDayLocal
        Parameters:
        billCycleDayLocal -
      • setPaymentMethodId

        void setPaymentMethodId​(UUID paymentMethodId)
        Sets the UUID of the default paymentMethod
        Parameters:
        paymentMethodId -
      • setReferenceTime

        void setReferenceTime​(org.joda.time.DateTime referenceTime)
        Sets the account referenceTime
        Parameters:
        referenceTime -
      • setTimeZone

        void setTimeZone​(org.joda.time.DateTimeZone timeZone)
        Sets the account timezone
        Parameters:
        timeZone -
      • setLocale

        void setLocale​(String locale)
        Sets the account locale
        Parameters:
        locale -
      • setAddress1

        void setAddress1​(String address1)
        Sets the account address (first line)
        Parameters:
        address1 -
      • setAddress2

        void setAddress2​(String address2)
        Sets the account address (second line)
        Parameters:
        address2 -
      • setCompanyName

        void setCompanyName​(String companyName)
        Sets the account company name
        Parameters:
        companyName -
      • setCity

        void setCity​(String city)
        Sets the account city
        Parameters:
        city -
      • setStateOrProvince

        void setStateOrProvince​(String stateOrProvince)
        Sets the account state or province
        Parameters:
        stateOrProvince -
      • setCountry

        void setCountry​(String country)
        Sets the account country
        Parameters:
        country -
      • setPostalCode

        void setPostalCode​(String postalCode)
        Sets the account postalCode
        Parameters:
        postalCode -
      • setPhone

        void setPhone​(String phone)
        Sets the account phone number
        Parameters:
        phone -
      • setNotes

        void setNotes​(String notes)
        Sets the account notes
        Parameters:
        notes -
      • setIsMigrated

        void setIsMigrated​(boolean isMigrated)
        Sets whether the account has been migrated or not
        Parameters:
        isMigrated -
      • setParentAccountId

        void setParentAccountId​(UUID parentAccountId)
        Sets the UUID of the default parentAccountId
        Parameters:
        parentAccountId -
      • setIsPaymentDelegatedToParent

        void setIsPaymentDelegatedToParent​(boolean isPaymentDelegatedToParent)
        Sets whether or not the child account payment is delegated to Parent
        Parameters:
        isPaymentDelegatedToParent -