dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
61 lines (60 loc) • 3.75 kB
JavaScript
"use strict";
const xmlElement_1 = require("../../common/soap/xmlElement");
class Proposal extends xmlElement_1.XMLElement {
constructor(id = null, isProgrammatic = null, dfpOrderId = null, name = null, pricingModel = null, startDateTime = null, endDateTime = null, timeZoneId = null, status = null, isArchived = null, advertiser = null, agencies = null, probabilityOfClose = null, billingCap = null, billingSchedule = null, billingSource = null, billingBase = null, poNumber = null, internalNotes = null, budget = null, primarySalesperson = null, secondarySalespeople = null, salesPlannerIds = null, primaryTraffickerId = null, secondaryTraffickerIds = null, sellerContactIds = null, appliedTeamIds = null, customFieldValues = null, appliedLabels = null, effectiveAppliedLabels = null, advertiserDiscount = null, proposalDiscount = null, currencyCode = null, exchangeRate = null, refreshExchangeRate = null, agencyCommission = null, valueAddedTax = null, isSold = null, approvalStatus = null, workflowProgress = null, lastModifiedDateTime = null, resources = null, actualExpiryTime = null, expectedExpiryTime = null, thirdPartyAdServerId = null, customThirdPartyAdServerName = null, termsAndConditions = null, lastRetractionDetails = null, marketplaceInfo = null, offlineErrors = null, hasOfflineErrors = null) {
super();
this.id = id;
this.isProgrammatic = isProgrammatic;
this.dfpOrderId = dfpOrderId;
this.name = name;
this.pricingModel = pricingModel;
this.startDateTime = startDateTime;
this.endDateTime = endDateTime;
this.timeZoneId = timeZoneId;
this.status = status;
this.isArchived = isArchived;
this.advertiser = advertiser;
this.agencies = agencies;
this.probabilityOfClose = probabilityOfClose;
this.billingCap = billingCap;
this.billingSchedule = billingSchedule;
this.billingSource = billingSource;
this.billingBase = billingBase;
this.poNumber = poNumber;
this.internalNotes = internalNotes;
this.budget = budget;
this.primarySalesperson = primarySalesperson;
this.secondarySalespeople = secondarySalespeople;
this.salesPlannerIds = salesPlannerIds;
this.primaryTraffickerId = primaryTraffickerId;
this.secondaryTraffickerIds = secondaryTraffickerIds;
this.sellerContactIds = sellerContactIds;
this.appliedTeamIds = appliedTeamIds;
this.customFieldValues = customFieldValues;
this.appliedLabels = appliedLabels;
this.effectiveAppliedLabels = effectiveAppliedLabels;
this.advertiserDiscount = advertiserDiscount;
this.proposalDiscount = proposalDiscount;
this.currencyCode = currencyCode;
this.exchangeRate = exchangeRate;
this.refreshExchangeRate = refreshExchangeRate;
this.agencyCommission = agencyCommission;
this.valueAddedTax = valueAddedTax;
this.isSold = isSold;
this.approvalStatus = approvalStatus;
this.workflowProgress = workflowProgress;
this.lastModifiedDateTime = lastModifiedDateTime;
this.resources = resources;
this.actualExpiryTime = actualExpiryTime;
this.expectedExpiryTime = expectedExpiryTime;
this.thirdPartyAdServerId = thirdPartyAdServerId;
this.customThirdPartyAdServerName = customThirdPartyAdServerName;
this.termsAndConditions = termsAndConditions;
this.lastRetractionDetails = lastRetractionDetails;
this.marketplaceInfo = marketplaceInfo;
this.offlineErrors = offlineErrors;
this.hasOfflineErrors = hasOfflineErrors;
}
}
Proposal.XSI_TYPE = "Proposal";
exports.Proposal = Proposal;