All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.silanis.esl.sdk.examples.InviteAccountMemberExample Maven / Gradle / Ivy

The newest version!
package com.silanis.esl.sdk.examples;

import com.silanis.esl.sdk.builder.AccountMemberBuilder;

public class InviteAccountMemberExample extends SDKSample {

    public static void main( String... args ) {
        new InviteAccountMemberExample().run();
    }

    public void execute() {
        eslClient.getAccountService().inviteUser(
                AccountMemberBuilder.newAccountMember(email1)
                                    .withFirstName( "firstName" )
                                    .withLastName( "lastName" )
                                    .withCompany( "company" )
                                    .withTitle( "title" )
                                    .withLanguage( "language" )
                                    .withPhoneNumber( "phoneNumber" )
                                    .build() );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy