blob: 6f0e920925e4c39eecd60c230d1494686c3bc810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
using System;
namespace GoogleMobileAds.Api
{
public class ServerSideVerificationOptions
{
public string UserId { get; private set; }
public string CustomData { get; private set; }
public class Builder
{
internal string UserId { get; private set; }
internal string CustomData { get; private set; }
public ServerSideVerificationOptions.Builder SetUserId(string userId)
{
this.UserId = userId;
return this;
}
public ServerSideVerificationOptions.Builder SetCustomData(string customData)
{
this.CustomData = customData;
return this;
}
public ServerSideVerificationOptions Build()
{
return new ServerSideVerificationOptions(this);
}
}
private ServerSideVerificationOptions(ServerSideVerificationOptions.Builder builder)
{
this.UserId = builder.UserId;
this.CustomData = builder.CustomData;
}
}
}
|