Class BackgroundImageV1
Inheritance
System.Object
BackgroundImageV1
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Klarna.Rest.Core.Model.HostedPaymentPage
Assembly: Klarna.Rest.Core.dll
Syntax
[DataContract]
public class BackgroundImageV1
Properties
| Improve this Doc View SourceUrl
Url for the image
Declaration
[DataMember(Name = "url", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String | Url for the image |
Width
Width of the image
Declaration
[DataMember(Name = "width", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "width")]
public long? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | Width of the image |
Methods
| Improve this Doc View SourceToJson()
Get the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Get the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
System.Object.ToString()