Skip to main content

Shipment

Represents one shipment in an order (typically from e-receipt parsing).

Package: com.microblink.core

Declaration

class Shipment : Parcelable

Quick Reference​

Properties​

PropertyDescription
products()Products included in this shipment
status()Shipment status string

Methods​

MethodDescription
newBuilder()Creates a Shipment.Builder

Properties​

products()​

fun products(): List<Product>

Products included in this shipment.


status()​

fun status(): String

Shipment status string (e.g., "Delivered", "Shipped").


Methods​

newBuilder()​

// Java static method
fun newBuilder(): Shipment.Builder

Returns a Shipment.Builder with .status(String), .products(List<Product>) and build(). Useful for test fixtures.