示例#1
0
        internal BulkProductAdExtension(BulkProductAdExtensionIdentifier identifier)
            : this()
        {
            ProductAdExtension = new ProductAdExtension {
                Type = "ProductAdExtension"
            };

            _identifier = identifier;

            _hasDeleteAllRow = identifier.Status == AdExtensionStatus.Deleted;

            ProductAdExtension.Id = identifier.AdExtensionId;

            ProductAdExtension.Status = identifier.Status;

            ProductAdExtension.Version = identifier.Version;

            AccountId = identifier.AccountId;

            ProductAdExtension.Name = identifier.Name;
        }
        internal BulkProductAdExtension(BulkProductAdExtensionIdentifier identifier)
            : this()
        {
            ProductAdExtension = new ProductAdExtension { Type = "ProductAdExtension" };

            _identifier = identifier;

            _hasDeleteAllRow = identifier.Status == AdExtensionStatus.Deleted;

            ProductAdExtension.Id = identifier.AdExtensionId;

            ProductAdExtension.Status = identifier.Status;

            ProductAdExtension.Version = identifier.Version;

            AccountId = identifier.AccountId;

            ProductAdExtension.Name = identifier.Name;
        }