public void StringTypeCustomFieldDefinitionAddTestUsingoAuth() { //Creating the Bill for Add StringTypeCustomFieldDefinition stringTypeCustomFieldDefinition = QBOHelper.CreateStringTypeCustomFieldDefinition(qboContextoAuth); //Adding the StringTypeCustomFieldDefinition StringTypeCustomFieldDefinition added = Helper.Add <StringTypeCustomFieldDefinition>(qboContextoAuth, stringTypeCustomFieldDefinition); //Verify the added StringTypeCustomFieldDefinition QBOHelper.VerifyStringTypeCustomFieldDefinition(stringTypeCustomFieldDefinition, added); }
public void StringTypeCustomFieldDefinitionFindbyIdTestUsingoAuth() { //Creating the StringTypeCustomFieldDefinition for Adding StringTypeCustomFieldDefinition stringTypeCustomFieldDefinition = QBOHelper.CreateStringTypeCustomFieldDefinition(qboContextoAuth); //Adding the StringTypeCustomFieldDefinition StringTypeCustomFieldDefinition added = Helper.Add <StringTypeCustomFieldDefinition>(qboContextoAuth, stringTypeCustomFieldDefinition); StringTypeCustomFieldDefinition found = Helper.FindById <StringTypeCustomFieldDefinition>(qboContextoAuth, added); QBOHelper.VerifyStringTypeCustomFieldDefinition(found, added); }
public void StringTypeCustomFieldDefinitionDeleteTestUsingoAuth() { //Creating the StringTypeCustomFieldDefinition for Adding StringTypeCustomFieldDefinition stringTypeCustomFieldDefinition = QBOHelper.CreateStringTypeCustomFieldDefinition(qboContextoAuth); //Adding the StringTypeCustomFieldDefinition StringTypeCustomFieldDefinition added = Helper.Add <StringTypeCustomFieldDefinition>(qboContextoAuth, stringTypeCustomFieldDefinition); //Delete the returned entity Helper.Delete <StringTypeCustomFieldDefinition>(qboContextoAuth, added); }
public void StringTypeCustomFieldDefinitionUpdateTestUsingoAuth() { //Creating the StringTypeCustomFieldDefinition for Adding StringTypeCustomFieldDefinition stringTypeCustomFieldDefinition = QBOHelper.CreateStringTypeCustomFieldDefinition(qboContextoAuth); //Adding the StringTypeCustomFieldDefinition StringTypeCustomFieldDefinition added = Helper.Add <StringTypeCustomFieldDefinition>(qboContextoAuth, stringTypeCustomFieldDefinition); //Change the data of added entity QBOHelper.UpdateStringTypeCustomFieldDefinition(qboContextoAuth, added); //Update the returned entity data StringTypeCustomFieldDefinition updated = Helper.Update <StringTypeCustomFieldDefinition>(qboContextoAuth, added); //Verify the updated StringTypeCustomFieldDefinition QBOHelper.VerifyStringTypeCustomFieldDefinition(added, updated); }