Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2013 Ning, Inc.
   *
   * Ning licenses this file to you under the Apache License, version 2.0
   * (the "License"); you may not use this file except in compliance with the
   * License.  You may obtain a copy of the License at:
   *
   *    http://www.apache.org/licenses/LICENSE-2.0
   *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
  * License for the specific language governing permissions and limitations
  * under the License.
  */
 
 package com.ning.billing.account.api;
 
 import java.util.UUID;
 
 
The interface AccountData specifies all the fields on the Account.
 
 public interface AccountData {

    

Returns:
the account externalKey
 
     public String getExternalKey();

    
The first and last name when that applies are combined into one name.

Returns:
the name of the account
See also:
getFirstNameLength()
 
     public String getName();

    

Returns:
the length of the first name that can be extracted from the name
 
     public Integer getFirstNameLength();

    

Returns:
the primary account email
 
     public String getEmail();

    
The billCycleDay should be interpreted in the account timezone. The billCycleDay is used to determine when to bill an account

Its is either set at account creation time or automatically set by the system.

Returns:
the billCycleDay for that account
See also:
com.ning.billing.catalog.api.BillingAlignment
 
     public Integer getBillCycleDayLocal();

    

Returns:
the currency on the account
 
     public Currency getCurrency();

    

Returns:
the UUID of the current default paymentMethod
 
     public UUID getPaymentMethodId();

    

Returns:
the timezone for that account
 
     public DateTimeZone getTimeZone();

    

Returns:
the locale for that account
 
     public String getLocale();

    

Returns:
the address for that account (first line)
 
     public String getAddress1();

    

Returns:
the address for that account (second line)
 
     public String getAddress2();

    

Returns:
the company for that account
 
     public String getCompanyName();

    

Returns:
the city for that account
    public String getCity();

    

Returns:
the state or province for that account
    public String getStateOrProvince();

    

Returns:
the postal code for that account
    public String getPostalCode();

    

Returns:
the country for that account
    public String getCountry();

    

Returns:
the phone number for that account
    public String getPhone();

    

Returns:
whether or not that account was migrated into the system
    public Boolean isMigrated();

    

Returns:
whether or not that account will receive invoice notifications
    public Boolean isNotifiedForInvoices();
New to GrepCode? Check out our FAQ X